Skip to content

Commit

Permalink
Merge pull request #272 from alliance-genome/gh-actions-permissions-u…
Browse files Browse the repository at this point in the history
…pdate

Added required content write permissions to handle new read-only default
  • Loading branch information
christabone authored Nov 20, 2024
2 parents 1ad354b + b61dc3a commit 5acfaca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-deploy-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ on:
jobs:
github-pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:

#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/regenerate_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ on:
jobs:
generate-artifacts:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Python Environment
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
Expand Down

0 comments on commit 5acfaca

Please sign in to comment.