Skip to content

Commit

Permalink
Permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludy87 committed Dec 30, 2024
1 parent 64623d7 commit 293b286
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/actions-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ on:

permissions:
contents: read
pull-requests: write

jobs:
action:
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ghaction-github-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
labeler:
name: Labeler
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out the repository
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/issue-auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
issues:
types: [opened]

permissions:
contents: read

jobs:
titlePrefixCheck:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- if: contains(github.event.issue.title, 'Logout') || contains(github.event.issue.title, 'app')
name: Close Issue
Expand Down

0 comments on commit 293b286

Please sign in to comment.