Skip to content

Commit 6f0aced

Browse files
committed
Test disabling workflows when the actor is github actions
1 parent c7a3ca1 commit 6f0aced

3 files changed

Lines changed: 2 additions & 116 deletions

File tree

.github/workflows/build_addon.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
# Building the add-on template as an add-on does not make sense (and fails).
1818
# Do not modify this repo name with your own one! (should remain the template)
19-
if: github.repository != 'nvaccess/addonTemplate' && github.event.head_commit.committer.email != 'github-actions@github.com'
19+
if: github.repository != 'nvaccess/addonTemplate' && $GITHUB_ACTOR != 'github-actions[bot]'
2020

2121
permissions:
2222
contents: write
@@ -52,7 +52,7 @@ jobs:
5252
git config user.email "github-actions@github.com"
5353
git add -A
5454
git commit -m "Apply code checks fixes"
55-
git push || true
55+
git push
5656
- name: building addon
5757
run: uv run scons && uv run scons pot
5858

.github/workflows/codeql.yml

Lines changed: 0 additions & 93 deletions
This file was deleted.

.github/workflows/fetchTranslationsFromCrowdin.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)