mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 08:01:03 -05:00
Correct expressions in GitHub Actions workflows (#1952)
* Correct expressions in stale workflow * Fix other workflows * Fix typos Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
parent
a0d7037e02
commit
1930e2f9a9
7 changed files with 16 additions and 16 deletions
4
.github/workflows/deploy-DEV-slim.yml
vendored
4
.github/workflows/deploy-DEV-slim.yml
vendored
|
@ -30,8 +30,8 @@ jobs:
|
||||||
# Set the agent to run on
|
# Set the agent to run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Prevent duplicate run from happening when a forked push is committed
|
# Prevent duplicate run from happening when a forked push is committed
|
||||||
if: ${{ github.event_name }} == 'push' ||
|
if: ${{ github.event_name == 'push' ||
|
||||||
${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }}
|
github.event.pull_request.head.repo.full_name != github.repository }}
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
##################
|
##################
|
||||||
|
|
4
.github/workflows/deploy-DEV-standard.yml
vendored
4
.github/workflows/deploy-DEV-standard.yml
vendored
|
@ -30,8 +30,8 @@ jobs:
|
||||||
# Set the agent to run on
|
# Set the agent to run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Prevent duplicate run from happening when a forked push is committed
|
# Prevent duplicate run from happening when a forked push is committed
|
||||||
if: ${{ github.event_name }} == 'push' ||
|
if: ${{ github.event_name == 'push' ||
|
||||||
${{ github.event.pull_request.head.repo.full_name }} != ${{ github.repository }}
|
github.event.pull_request.head.repo.full_name != github.repository }}
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
##################
|
##################
|
||||||
|
|
2
.github/workflows/deploy-PROD-slim.yml
vendored
2
.github/workflows/deploy-PROD-slim.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
# Set the agent to run on
|
# Set the agent to run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only run this on the main repo
|
# Only run this on the main repo
|
||||||
if: ${{ github.repository }} == 'github/super-linter'
|
if: ${{ github.repository == 'github/super-linter' }}
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
##################
|
##################
|
||||||
|
|
2
.github/workflows/deploy-PROD-standard.yml
vendored
2
.github/workflows/deploy-PROD-standard.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
||||||
# Set the agent to run on
|
# Set the agent to run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Only run this on the main repo
|
# Only run this on the main repo
|
||||||
if: ${{ github.repository }} == 'github/super-linter'
|
if: ${{ github.repository == 'github/super-linter' }}
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
##################
|
##################
|
||||||
|
|
8
.github/workflows/deploy-RELEASE-slim.yml
vendored
8
.github/workflows/deploy-RELEASE-slim.yml
vendored
|
@ -31,10 +31,10 @@ jobs:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Only run if Admin start job and it was the Release Issue template #
|
# Only run if Admin start job and it was the Release Issue template #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
if: ${{ github.actor }} == 'admiralawkbar' || ${{ github.actor }} == 'jwiebalk' ||
|
if: ${{ github.actor == 'admiralawkbar' || github.actor == 'jwiebalk' ||
|
||||||
${{ github.actor }} == 'IAmHughes' || ${{ github.actor }} == 'nemchik' ||
|
github.actor == 'IAmHughes' || github.actor == 'nemchik' ||
|
||||||
${{ github.actor }} == 'Hanse00' || ${{ github.actor }} == 'github-actions' ||
|
github.actor == 'Hanse00' || github.actor == 'github-actions' ||
|
||||||
${{ github.actor }} == 'GaboFDC' || ${{ github.actor }} == 'ferrarimarco'
|
github.actor == 'GaboFDC' || github.actor == 'ferrarimarco' }}
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
|
|
|
@ -31,10 +31,10 @@ jobs:
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# Only run if Admin start job and it was the Release Issue template #
|
# Only run if Admin start job and it was the Release Issue template #
|
||||||
#####################################################################
|
#####################################################################
|
||||||
if: ${{ github.actor }} == 'admiralawkbar' || ${{ github.actor }} == 'jwiebalk' ||
|
if: ${{ github.actor == 'admiralawkbar' || github.actor == 'jwiebalk' ||
|
||||||
${{ github.actor }} == 'IAmHughes' || ${{ github.actor }} == 'nemchik' ||
|
github.actor == 'IAmHughes' || github.actor == 'nemchik' ||
|
||||||
${{ github.actor }} == 'Hanse00' || ${{ github.actor }} == 'github-actions' ||
|
github.actor == 'Hanse00' || github.actor == 'github-actions' ||
|
||||||
${{ github.actor }} == 'GaboFDC' || ${{ github.actor }} == 'ferrarimarco'
|
github.actor == 'GaboFDC' || github.actor == 'ferrarimarco' }}
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Load all steps #
|
# Load all steps #
|
||||||
|
|
4
.github/workflows/stale.yml
vendored
4
.github/workflows/stale.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
markstale:
|
markstale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# only run on schedule
|
# only run on schedule
|
||||||
if: ${{ github.event_name }} == 'schedule'
|
if: ${{ github.event_name == 'schedule' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Mark issue stale
|
- name: Mark issue stale
|
||||||
uses: actions/stale@v4
|
uses: actions/stale@v4
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
marknotstale:
|
marknotstale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# do not run on schedule
|
# do not run on schedule
|
||||||
if: "${{ github.event_name }} == 'issue_comment' && contains(github.event.issue.labels.*.name, 'O: stale 🤖') && ${{ github.event.issue.user.type }} != 'Bot'"
|
if: "${{ github.event_name == 'issue_comment' }} && contains(github.event.issue.labels.*.name, 'O: stale 🤖') && ${{ github.event.issue.user.type != 'Bot' }}"
|
||||||
steps:
|
steps:
|
||||||
- name: Mark issue not stale
|
- name: Mark issue not stale
|
||||||
uses: actions/github-script@v4.1
|
uses: actions/github-script@v4.1
|
||||||
|
|
Loading…
Reference in a new issue