diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 5ab67695..1f37acac 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -1,6 +1,12 @@ name: update-readme run-name: ${{ github.actor }} is updating README.md -on: [push] +on: + push: + branches: + - main + paths-ignore: + - 'README.md' + - 'problems.json' jobs: update-readme: @@ -9,6 +15,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }} - name: Set up Python uses: actions/setup-python@v2