Skip to content

ci: fix permissions for trunk #99

ci: fix permissions for trunk

ci: fix permissions for trunk #99

---
name: Build and Publish Repository
on:
push:
issue_comment:
types:
- created
# push:
# branches:
# - "master"
# - "prerelease"
permissions:
contents: write
issues: write
pull-requests: write
jobs:
build:
uses: aps831/workflows/.github/workflows/build-and-publish-basic.yaml@master
if:
${{ !contains(github.triggering_actor, '[bot]') && (github.event_name == 'push' ||
(github.event.issue.pull_request && !contains(github.event.comment.body, '.noop') &&
!contains(github.event.comment.body, '.deploy'))) }}
with:
templated-files: |
README.tpl.md
release-on-default-branch: false
secrets:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}