Add concurrency and permissions to workflow

This commit is contained in:
James M. Greene
2022-08-05 15:44:58 -05:00
parent da85ca493f
commit f24e879a69

View File

@@ -6,6 +6,14 @@ on:
- main
pull_request:
permissions:
contents: read
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest