Skip to content

Commit

Permalink
ci: update global workflows (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot authored Mar 1, 2022
1 parent b436377 commit 68f82ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/lint-pr-title.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#This action is centrally managed in https://github.com/asyncapi/.github/
#This action is centrally managed in https://github.com/asyncapi/.github/
#Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo

name: Lint PR title

on:

pull_request_target:
types: [opened, reopened, synchronize, edited, ready_for_review]

jobs:

lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/[email protected]
lint:
runs-on: ubuntu-latest
steps:
# Since this workflow is REQUIRED for a PR to be mergable, we have to have this 'if' statement in step level instead of job level.
- if: ${{ !contains(fromJson('["asyncapi-bot", "dependabot[bot]", "dependabot-preview[bot]", "allcontributors"]'), github.actor) }}
uses: amannn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sentiment-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
- edited
jobs:
test:
if: ${{ !contains(fromJson('["asyncapi-bot", "dependabot[bot]", "dependabot-preview[bot]", "allcontributors"]'), github.actor) }}
name: Checking sentiments
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/welcome-first-time-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:

jobs:
welcome:
if: ${{ !contains(fromJson('["asyncapi-bot", "dependabot[bot]", "dependabot-preview[bot]", "allcontributors"]'), github.actor) }}
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v3
Expand Down

0 comments on commit 68f82ba

Please sign in to comment.