Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add permissions to label workflows #896

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on:
name: Issue and PR hygiene
jobs:
stale:
uses: krakendio/.github/.github/workflows/stale.yml@main
uses: krakend/.github/.github/workflows/stale.yml@main
lock-threads:
uses: krakendio/.github/.github/workflows/lock-threads.yml@main
uses: krakend/.github/.github/workflows/lock-threads.yml@main
5 changes: 4 additions & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ on:
types: [labeled, unlabeled]
jobs:
stale:
uses: krakendio/.github/.github/workflows/label-commenter.yml@main
uses: krakend/.github/.github/workflows/label-commenter.yml@main
permissions:
issues: write
pull-requests: write
11 changes: 8 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:
security-repo-scan:
name: security-repo-scan
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read

steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
Expand All @@ -46,7 +51,7 @@ jobs:
dockerfile: Dockerfile
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Checkout
uses: actions/checkout@v3

- name: Set the environment variables
Expand Down
Loading