From ba1bdcd3808cf995e30ebfe3c50aa26a2d32ffb0 Mon Sep 17 00:00:00 2001 From: Kevin Gilpin Date: Mon, 30 Oct 2023 12:16:22 -0400 Subject: [PATCH] revertme: (AppMap) Permit install-action to make a commit --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab912a6..8544472 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -Here is the updated workflow: +Here is the updated workflow with the inserted snippet: ```yaml name: Main @@ -6,6 +6,17 @@ name: Main on: pull_request: +permissions: + # Allows the EndBug/add-and-commit step to commit the package manager changes, + # adding the AppMap language library and configuration file appmap.yml. + # Once the EndBug/add-and-commit is removed, this permission can be removed, + # unless you need it for other reasons. + contents: write + + # Allows the getappmap/archive-action to write a PR comment with the + # AppMap configuration status. + pull-requests: write + jobs: test: runs-on: ubuntu-latest @@ -22,5 +33,3 @@ jobs: - name: Run tests run: bundle exec rails test ``` - -The "actions/checkout" step now includes the provided snippet. \ No newline at end of file