diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-10-18 10:50:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-18 10:50:25 -0400 |
commit | 48e7a6613054dafcc3a1910ef85ef7e2a03be93d (patch) | |
tree | c6455f2c14d5e7d63542581b5bf5f71da862d226 /.github | |
parent | bef28e9dd6f2087a02444848e6e6dea1a8fe5046 (diff) |
Change CI trigger label prefix from `ci/` to `run-ci/`. (#13849)
* Change CI trigger label prefix from `ci/` to `run-ci/`.
This way it better describes what it’s doing
* Update .github/workflows/packaging.yml
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql.yml | 2 | ||||
-rw-r--r-- | .github/workflows/packaging.yml | 2 | ||||
-rw-r--r-- | .github/workflows/review.yml | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 47a421fa78..021376a2d5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -31,7 +31,7 @@ jobs: id: always run: | if [ "${{ github.event_name }}" = "pull_request" ]; then - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/codeql') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/codeql') }}" = "true" ]; then echo '::set-output name=run::true' echo '::notice::Found ci/codeql label, unconditionally running all CodeQL checks.' else diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 7a08428483..ddd8356e43 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -58,7 +58,7 @@ jobs: with open('.github/data/distros.yml') as f: data = yaml.load(f) - if "${{ github.event_name }}" == "pull_request" and "${{ contains(github.event.pull_request.labels.*.name, 'ci/packaging') }}" != "true": + if "${{ github.event_name }}" == "pull_request" and "${{ !contains(github.event.pull_request.labels.*.name, 'run-ci/packaging') }}": run_limited = True for i, v in enumerate(data['include']): diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 071e751f79..5679b246c1 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -28,7 +28,7 @@ jobs: - name: Check files for actionlint id: actionlint run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/actionlint') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/actionlint') }}" = "true" ]; then echo '::set-output name=run::true' elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '\.github/workflows/.*' ; then echo '::set-output name=run::true' @@ -39,7 +39,7 @@ jobs: - name: Check files for eslint id: eslint run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/eslint') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/eslint') }}" = "true" ]; then echo '::set-output name=run::true' elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/dashboard" | grep -Eq '.*\.js|node\.d\.plugin\.in' ; then echo '::set-output name=run::true' @@ -50,7 +50,7 @@ jobs: - name: Check files for hadolint id: hadolint run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/hadolint') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/hadolint') }}" = "true" ]; then echo '::set-output name=run::true' elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '.*Dockerfile.*' ; then echo '::set-output name=run::true' @@ -61,7 +61,7 @@ jobs: - name: Check files for shellcheck id: shellcheck run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/shellcheck') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/shellcheck') }}" = "true" ]; then echo '::set-output name=run::true' elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '.*\.sh.*' ; then echo '::set-output name=run::true' @@ -72,7 +72,7 @@ jobs: - name: Check files for yamllint id: yamllint run: | - if [ "${{ contains(github.event.pull_request.labels.*.name, 'ci/yamllint') }}" = "true" ]; then + if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/yamllint') }}" = "true" ]; then echo '::set-output name=run::true' elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '.*\.ya?ml|python\.d/.*\.conf' ; then echo '::set-output name=run::true' |