From b3a3595e53236bc4ef8c7960d14a6ff5d7faf3fe Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Filho Date: Fri, 20 Mar 2026 15:28:50 +0100 Subject: [PATCH] ci: Fix GH actions permissions --- .github/workflows/issue_comment.yml | 4 ++++ .github/workflows/new_issues.yml | 4 ++++ .github/workflows/new_prs.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_comment.yml index 793bdbb..ba03a33 100644 --- a/.github/workflows/issue_comment.yml +++ b/.github/workflows/issue_comment.yml @@ -7,6 +7,10 @@ jobs: sync_issue_comments_to_jira: name: Sync Issue Comments to Jira runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + issues: write steps: - uses: actions/checkout@main - name: Sync issue comments to JIRA diff --git a/.github/workflows/new_issues.yml b/.github/workflows/new_issues.yml index 18863c3..61a3741 100644 --- a/.github/workflows/new_issues.yml +++ b/.github/workflows/new_issues.yml @@ -7,6 +7,10 @@ jobs: sync_issues_to_jira: name: Sync issues to Jira runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + issues: write steps: - uses: actions/checkout@main - name: Sync GitHub issues to Jira project diff --git a/.github/workflows/new_prs.yml b/.github/workflows/new_prs.yml index 099ff86..a180d1f 100644 --- a/.github/workflows/new_prs.yml +++ b/.github/workflows/new_prs.yml @@ -10,6 +10,10 @@ jobs: sync_prs_to_jira: name: Sync PRs to Jira runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read + issues: write steps: - uses: actions/checkout@main - name: Sync PRs to Jira project