Skip to content

Commit

Permalink
ci: bump github actions; reduce job permissions to minimum (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Apr 29, 2022
1 parent 8b05c56 commit 32cde11
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ on:
jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: read

strategy:
fail-fast: false
matrix:
node-version: [10, 12, 14, 15, 16]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
- name: Install Dependencies
Expand All @@ -39,7 +42,10 @@ jobs:
automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3.0.2
- uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 32cde11

Please sign in to comment.