CI: Avoid running on 'push' in mirrors / forks (#110063)
* CI: Avoid running on 'push' in mirrors / forks * use single quotes
This commit is contained in:
1 parent
d51e6a16bc
commit
488caa12ec
9 files changed
+23
-6
No files matched your search
@@ -15,6 +15,8 @@ permissions: {}
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
# Run on `grafana/grafana` main branch, or on pull requests to prevent double-running on mirrors
|
||||
if: (github.event_name == 'pull_request' || (github.event_name == 'push' && github.repository == 'grafana/grafana'))
|
||||
name: Shellcheck scripts
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
Reference in new issue
Block a user