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