diff --git a/.github/workflows/validations.yml b/.github/workflows/validations.yml index 063b3a0..efd5066 100644 --- a/.github/workflows/validations.yml +++ b/.github/workflows/validations.yml @@ -27,7 +27,7 @@ jobs: with: args: --failOnErrors --verbose env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} comment: @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/github-script@0.3.0 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.DANGER_GITHUB_API_TOKEN}} script: | const { issue: { number: issue_number }, repo: { owner, repo } } = context; github.issues.createComment({ issue_number, owner, repo, body: 'Hello world ! 👋' });