Skip to content

feat: add user permissions #317

feat: add user permissions

feat: add user permissions #317

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
push:
branches:
- main
workflow_dispatch: {}
permissions: read-all
jobs:
test:
if: >
(github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) ||
github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: arduino/setup-task@v2
- run: task test