Skip to content

Commit

Permalink
Merge pull request #941 from sanger/y24-066-add-to-project-github-action
Browse files Browse the repository at this point in the history
Y24-066 Created add_prs_to_tech_debt_project.yml to add dependency updates to the technical debt project
  • Loading branch information
seenanair authored Jun 7, 2024
2 parents a8dfd9d + 68f990e commit e650776
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/add_prs_to_tech_debt_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Calls a reusable workflow in the .github repo,
# which adds the PR that triggered this to the Technical Debt project board, if it is a depfu one.
# Passes the 'PSD-AddToProject' GitHub App key and App Id as secrets to the reusable workflow.

name: Add dependencies to technical debt project

on:
# Triggered on creation of pull requests with any label,
# or when a label is added to an existing pull request.
pull_request:
types:
- labeled

jobs:
call-workflow-add_to_technical_debt_project:
uses: sanger/.github/.github/workflows/add_to_tech_debt_project_reusable.yml@master
secrets:
app_id: ${{ secrets.ADD_TO_PROJECT_APP_ID_PSD }}
app_key: ${{ secrets.ADD_TO_PROJECT_APP_KEY_PSD }}

0 comments on commit e650776

Please sign in to comment.