mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Request gotestfmt with readonly access token
Per the advice at ed11bda1c4/README.md (L33-L34)
This commit is contained in:
parent
b7f9b81acd
commit
28a9090a33
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -6,6 +6,11 @@ on:
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
permissions:
|
||||
packages: read
|
||||
# Note: from https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
|
||||
# > If you specify the access for any of these scopes, all of those that are not specified are set to none.
|
||||
|
||||
jobs:
|
||||
integration:
|
||||
runs-on: ubuntu-latest
|
||||
@ -44,6 +49,9 @@ jobs:
|
||||
|
||||
- name: Set up gotestfmt
|
||||
uses: GoTestTools/gotestfmt-action@v2
|
||||
with:
|
||||
# Note: constrained to `packages:read` only at the top of the file
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
@ -115,6 +123,9 @@ jobs:
|
||||
|
||||
- name: Set up gotestfmt
|
||||
uses: GoTestTools/gotestfmt-action@v2
|
||||
with:
|
||||
# Note: constrained to `packages:read` only at the top of the file
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run end-to-end tests
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user