TEST: Prerelease -> Configs Comment Commands #45
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
| name: Command | ||
| on: | ||
| issue_comment: | ||
| types: | ||
| - created | ||
| - edited | ||
| jobs: | ||
| redeploy: | ||
| name: Redeploy | ||
| if: startsWith(github.event.comment.body, '!redeploy') && github.event.issue.pull_request | ||
| uses: access-nri/build-cd/.github/workflows/ci.yml@v6 | ||
| with: | ||
| model: ${{ vars.NAME }} | ||
| # root-sbd: if different from vars.NAME | ||
| pr: ${{ github.event.issue.number }} | ||
| # TODO: Check versions are appropriate | ||
| spack-manifest-schema-version: 1-0-7 | ||
| config-versions-schema-version: 3-0-0 | ||
| config-packages-schema-version: 1-0-0 | ||
| permissions: | ||
| pull-requests: write | ||
| contents: write | ||
| statuses: write | ||
| secrets: inherit | ||
| bump: | ||
| name: Bump | ||
| if: startsWith(github.event.comment.body, '!bump') && github.event.issue.pull_request | ||
| uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v6 | ||
| with: | ||
| model: ${{ vars.NAME }} | ||
| # root-sbd: if different from vars.NAME | ||
| permissions: | ||
| pull-requests: write | ||
| contents: write | ||
| secrets: inherit | ||
| update-configs: | ||
| name: Configs | ||
| if: startsWith(github.event.comment.body, '!update-configs') && github.event.issue.pull_request | ||
| uses: access-nri/build-cd/.github/workflows/ci-command-configs.yml@prerelease-to-model-configs-pipeline | ||
|
Check failure on line 41 in .github/workflows/ci-command.yml
|
||
| with: | ||
| model: ${{ vars.NAME }} | ||
| # root-sbd: if different from vars.NAME | ||
| auto-configs-pr-schema-version: 1-0-0 | ||
| permissions: | ||
| pull-requests: write | ||
| secrets: | ||
| configs-repo-token: ${{ secrets.CONFIGS_REPO_TOKEN }} | ||
| commit-gpg-private-key: ${{ secrets.GH_ACTIONS_BOT_GPG_PRIVATE_KEY }} | ||
| commit-gpg-passphrase: ${{ secrets.GH_ACTIONS_BOT_GPG_PASSPHRASE }} | ||