Update dependency org.sonarsource.orchestrator:sonar-orchestrator-jun… #2774
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: dogfood merge | |
| # This workflow is triggered on pushes to master and dogfood branches | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - 'dogfood/*' | |
| jobs: | |
| dogfood_merge: | |
| runs-on: github-ubuntu-latest-s | |
| name: Update dogfood branch | |
| permissions: | |
| id-token: write # required for SonarSource/vault-action-wrapper | |
| steps: | |
| - name: get secrets | |
| id: secrets | |
| uses: SonarSource/vault-action-wrapper@v3 | |
| with: | |
| secrets: | | |
| development/github/token/{REPO_OWNER_NAME_DASH}-dogfood-merge token | dogfood_token; | |
| - name: git octopus step | |
| id: dogfood | |
| uses: SonarSource/gh-action_dogfood_merge@v1 | |
| with: | |
| dogfood-branch: 'dogfood-on-peach' | |
| github-token: ${{ fromJSON(steps.secrets.outputs.vault).dogfood_token }} | |
| # Use the output from the `dogfood` step | |
| - name: Get the name of the dogfood branch and its HEAD SHA1 | |
| run: echo "The dogfood branch was ${{ steps.dogfood.outputs.dogfood-branch }} and its HEAD SHA1 was ${{ steps.dogfood.outputs.sha1 }}" |