Skip to content

[Please ignore] Lockfile testing #7

[Please ignore] Lockfile testing

[Please ignore] Lockfile testing #7

name: Update Lockfile
on:
pull_request:
types:
- labeled
branches:
- lockfile_testing
env:
GH_TOKEN: ${{ secrets.BAZEL_IO_TOKEN }}
# GITHUB_WORKSPACE: ${{ GITHUB_WORKSPACE }}
jobs:
update-lockfile:
runs-on: ubuntu-latest
if: contains(github.event.label.name, 'updatelock')
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install bazelisk
run: |
echo hi
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64"
mkdir -p "${GITHUB_WORKSPACE}/bin/"
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
- name: Update lockfile
uses: iancha1992/continuous-integration/actions/lockfile-test@lockfile-test
# with:
# github-dir: "${GITHUB_WORKSPACE}/bin/bazel"