on: push: branches: - main concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: lockfile: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: ref: main fetch-depth: 0 token: ${{ secrets.GH_ACCESS_TOKEN }} - run: ./git-setup.sh website auth api console - uses: ./.github/actions/yarn-install - name: Commit new lockfile if updated run: | git config --global user.email "${GITHUB_ACTOR}" git config --global user.name "${GITHUB_ACTOR}@users.noreply.github.com" git commit -am "Update yarn.lock" git push