Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Moreno <joao.moreno@microsoft.com>2022-06-26 21:52:40 +0300
committerGitHub <noreply@github.com>2022-06-26 21:52:40 +0300
commit6bb932297728e3fe1d13459de2fa0f0ea12d28e4 (patch)
treecf580ad4d3ed4148cdf0a7eca8938951ce8b021a /.github
parent1b08a89fc82549c84c73195eac41244dd72cc9cb (diff)
Allow dependabot to make yarn.lock changes (#153240)
allow dependabot to make yarn.lock changes
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/no-yarn-lock-changes.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/no-yarn-lock-changes.yml b/.github/workflows/no-yarn-lock-changes.yml
index ebd735bf7e5..300a98ad998 100644
--- a/.github/workflows/no-yarn-lock-changes.yml
+++ b/.github/workflows/no-yarn-lock-changes.yml
@@ -18,8 +18,9 @@ jobs:
run: |
echo "user: ${{ github.event.pull_request.user.login }}"
echo "role: ${{ fromJson(steps.get_permissions.outputs.data).permission }}"
+ echo "is dependabot: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}"
echo "should_run: ${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
- echo "::set-output name=should_run::${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
+ echo "::set-output name=should_run::${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) && github.event.pull_request.user.login != 'dependabot[bot]' }}"
- name: Get file changes
uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272
if: ${{ steps.control.outputs.should_run == 'true' }}