Create gno-w-archiwach.user.js #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a basic workflow to help you get started with Actions | |
| name: edit-readme | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| if: "!contains(github.event.head_commit.message, 'SKIP CI')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Build README | |
| run: node ./.github/write-readme.js | |
| - name: Commit README | |
| run: | | |
| if ! git diff --no-ext-diff --quiet --exit-code; then | |
| git config --local user.email "[email protected]" | |
| git config --local user.name "GitHub Action" | |
| git add README.md | |
| git commit -m '[SKIP CI] Build README.md' | |
| fi; | |
| - name: Push changes | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.ACTION_GITHUB_TOKEN }} | |
| branch: master |