Skip to content

Commit 3c7b6b1

Browse files
authored
BUILD-4068 Fix dogfood-on-peach branch not executed on CirrusCI (#1641)
1 parent 79e88a3 commit 3c7b6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dogfood.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
name: Update dogfood branch
1717
permissions:
1818
id-token: write # required for SonarSource/vault-action-wrapper
19-
contents: write # required to grant GITHUB_TOKEN writing permission
2019
steps:
2120
- name: get secrets
2221
id: secrets
2322
uses: SonarSource/vault-action-wrapper@v2
2423
with:
2524
secrets: |
2625
development/kv/data/slack webhook | SLACK_WEBHOOK;
26+
development/github/token/{REPO_OWNER_NAME_DASH}-dogfood-merge token | dogfood_token;
2727
- name: git octopus step
2828
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
GITHUB_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).dogfood_token }}
3030
id: dogfood
3131
uses: SonarSource/gh-action_dogfood_merge@v1
3232
with:

0 commit comments

Comments
 (0)