diff --git a/.github/workflows/lockfile.yml b/.github/workflows/lockfile.yml new file mode 100644 index 0000000000..6fa1d3d898 --- /dev/null +++ b/.github/workflows/lockfile.yml @@ -0,0 +1,22 @@ +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 commit -am "Update yarn.lock" + git push