Feature/grand canyon modeling #98
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
# This workflow requires that the following repository variables have been created: | |
# - `ORGANIZATION_PROJECT__STATUS_VALUE_FOR_ADDED_PULL_REQUESTS` - The value of the 'Status' field to set for pull requests when added to the project. | |
# in addition to the ones required by `_reusable_add-content-to-project.yml`. | |
name: Add pull requests to project | |
on: | |
pull_request: | |
types: [ opened, reopened, ready_for_review ] | |
jobs: | |
add_to_project: | |
# Don't run the job if it's a draft PR | |
if: ${{ !github.event.pull_request.draft }} | |
uses: ./.github/workflows/_reusable_add-content-to-project.yml | |
with: | |
content_id: ${{ github.event.pull_request.node_id }} | |
status_field_value_name: ${{ vars.ORGANIZATION_PROJECT__STATUS_VALUE_FOR_ADDED_PULL_REQUESTS }} | |
secrets: inherit |