Skip to content

Commit

Permalink
Use Github Permissions instead of PAT (#2652)
Browse files Browse the repository at this point in the history
* Use Github Permissions instead of PAT

* Dummy formatting to apply fix

* fix permissions

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored May 18, 2023
1 parent 3fc6188 commit 348c41d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
build:
name: MegaLinter
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push, comment issues & post new PR
# Remove the ones you do not need
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down

0 comments on commit 348c41d

Please sign in to comment.