Skip to content

ci: fix GITHUB_TOKEN permissions #23

ci: fix GITHUB_TOKEN permissions

ci: fix GITHUB_TOKEN permissions #23

Workflow file for this run

name: ci
on:
pull_request: {}
push:
branches:
- master
tags-ignore:
- '**'
jobs:
build:
uses: vtavernier/github-workflows/.github/workflows/build-go-docker.yml@v1
permissions:
contents: read # It's the GH_TOKEN that writes back to the repository
issues: write # For semantic-release comments
packages: write # For pushing to docker
with:
submodules: recursive
secrets:
docker_password: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}