Skip to content

Commit

Permalink
Fix GH_TOKEN missing
Browse files Browse the repository at this point in the history
  • Loading branch information
kuznetsss committed Dec 8, 2023
1 parent ffddb95 commit 8bd8d28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/clang_tidy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ runs:
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
id: create_issue
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
echo -e 'Clang-tidy found issues in the code:\n' > issue.md
echo -e "List of the issues found: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }}" >> issue.md
Expand All @@ -35,6 +37,8 @@ runs:
- name: Create PR with fixes
if: ${{ steps.run_clang_tidy.outcome != 'success' }}
uses: peter-evans/create-pull-request@v5
env:
GH_TOKEN: ${{ github.token }}
with:
commit-message: '[CI]: clang-tidy auto fixes'
branch: 'clang_tidy/autofix'
Expand Down

0 comments on commit 8bd8d28

Please sign in to comment.