on: pull_request: branches: [master] push: branches: [master] jobs: goaction: runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@v2 - name: Update action files uses: posener/goaction@v1 with: name: hugo-obsidian github-token: '${{ secrets.GITHUB_TOKEN }}'