Y24 060 sanger access token #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add dependencies to test project board on push | |
on: | |
pull_request: | |
types: | |
- labeled | |
jobs: | |
add-to-project-using-github-app: | |
name: Add pull request to project using github app | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Token | |
id: get_workflow_token | |
uses: peter-murray/workflow-application-token-action@v3 | |
with: | |
application_id: ${{ vars.ADD_TO_PROJECT_APP_ID_PSD }} | |
application_private_key: ${{ secrets.ADD_TO_PROJECT_APP_KEY_PSD }} | |
- name: Use Application Token to add to project | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/sanger/projects/13 | |
github-token: ${{ steps.get_workflow_token.outputs.token }} | |
labeled: githubapptest |