From 7e62ce531a7d6ef859eb2e4e5ce21f4ab40ccb4c Mon Sep 17 00:00:00 2001 From: Igor Velikorossov Date: Thu, 18 Apr 2024 09:22:43 +1000 Subject: [PATCH] Update locker.yml * Bump the Locker action version Refer to https://github.com/microsoft/vscode-github-triage-actions/pull/210 * Restrict the Locker action to dotnet org --- .github/workflows/locker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/locker.yml b/.github/workflows/locker.yml index 052ca7f6fdc1..592b01424740 100644 --- a/.github/workflows/locker.yml +++ b/.github/workflows/locker.yml @@ -20,13 +20,14 @@ permissions: jobs: main: runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'dotnet' }} steps: - name: Checkout Actions uses: actions/checkout@v4 with: repository: "microsoft/vscode-github-triage-actions" path: ./actions - ref: 0e46b66330f7fbece9aacc65c31c38f434041050 # Pin to commit: https://github.com/microsoft/vscode-github-triage-actions/commit/0e46b66330f7fbece9aacc65c31c38f434041050 + ref: 066bee9cefa6f0b4bf306040ff36fc7d96a6d56d # Pin to commit: https://github.com/microsoft/vscode-github-triage-actions/commit/066bee9cefa6f0b4bf306040ff36fc7d96a6d56d - name: Install Actions run: npm install --production --prefix ./actions - name: Run Locker