From 4f6d035d2928bb308b9ad3c9aa979fa3584c496f Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 11 Apr 2023 11:07:55 -0700 Subject: [PATCH] Create lockfile.yml --- .github/workflows/lockfile.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/lockfile.yml 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