Skip to content

Commit

Permalink
adding permissions to GITHUB_TOKEN (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncastro1990 committed Apr 12, 2024
1 parent 137743a commit c9450e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
pull_request:
branches:
- main

permissions:
contents: write
env:
# HOME required by Setup Git and Setup Go Steps
HOME: ${{ github.workspace }}
Expand Down Expand Up @@ -104,3 +105,4 @@ jobs:
if [[ $CI_NODE_INDEX = "build" && $TRAVIS_PULL_REQUEST == 'false' ]]; then bundle exec rake download_policy_list; bundle exec middleman deploy; fi
env:
CI_NODE_INDEX: ${{ matrix.index }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c9450e0

Please sign in to comment.