Skip to content

ci: added write permissions and changed to GITHUB_TOKEN #69

ci: added write permissions and changed to GITHUB_TOKEN

ci: added write permissions and changed to GITHUB_TOKEN #69

Workflow file for this run

# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
# β”‚ β”‚
# β”‚ IMPORTANT NOTE β”‚
# β”‚ β”‚
# β”‚ This file is synced with https://github.com/atomicgo/template β”‚
# β”‚ β”‚
# β”‚ Please apply all changes to the template repository β”‚
# β”‚ β”‚
# β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
name: AtomicGo
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
if: "!contains(github.event.head_commit.message, 'autoupdate')"
runs-on: ubuntu-latest
steps:
- name: Update Docs
uses: atomicgo/ci@main
env:
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TERM: xterm-256color