From 3e542cd88bd8f965eea48614203feafe578afb2a Mon Sep 17 00:00:00 2001 From: Itamar Friedman Date: Thu, 10 Aug 2023 08:10:10 +0300 Subject: [PATCH] adding `permissions` to `review.yaml`, also adding some comments --- .github/workflows/review.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/review.yaml b/.github/workflows/review.yaml index e7612520..9dcf59b8 100644 --- a/.github/workflows/review.yaml +++ b/.github/workflows/review.yaml @@ -1,6 +1,17 @@ +# This workflow enables developers to call PR-Agents `/[actions]` in PR's comments and upon PR creation. +# Learn more at https://www.codium.ai/pr-agent/ +# This is v0.2 of this workflow file + +name: PR-Agent + on: pull_request: issue_comment: + +permissions: + issues: write + pull-requests: write + jobs: pr_agent_job: runs-on: ubuntu-latest