Track Review Project #356
This file contains hidden or 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
| # ------------------------------------------------------------------------------ | |
| # (c) Crown copyright Met Office. All rights reserved. | |
| # The file LICENCE, distributed with this code, contains details of the terms | |
| # under which the code may be used. | |
| # ------------------------------------------------------------------------------ | |
| name: Track Review Project | |
| on: | |
| workflow_run: | |
| workflows: [Trigger Review Project] | |
| types: | |
| - completed | |
| workflow_dispatch: | |
| # Best Practice: Explicitly strip all top-level default permissions | |
| permissions: {} | |
| jobs: | |
| track_review_project: | |
| # Granular permissions are safely locked directly to this specific execution context | |
| permissions: | |
| actions: read # Required to check out code or parse files safely | |
| contents: read # Required to read the upstream triggered workflow run artifact status | |
| pull-requests: write # Required to add comments or update metadata on the PR | |
| uses: MetOffice/growss/.github/workflows/track-review-project.yaml@0f9ffe6a138ae9943053621916a850a075997db8 # v1.0.0 | |
| secrets: | |
| PROJECT_ACTION_PAT: ${{ secrets.PROJECT_ACTION_PAT }} | |
| # Optional inputs (with default values) | |
| with: | |
| runner: "ubuntu-slim" | |
| project_org: "MetOffice" | |
| project_number: 376 |