Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reviewed triggering paths for all the actions #163

Merged
merged 14 commits into from
Mar 27, 2024
3 changes: 3 additions & 0 deletions .github/workflows/assessment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [ "main" ]
paths:
- 'assessment/**'
- 'pipeline/**'
- .github/workflows/assessment.yml
- .github/workflows/main.yml

jobs:
call-main-workflow:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- main
paths:
- '**/*.sh'
- .github/workflows/checks.yml
gabriel-farache marked this conversation as resolved.
Show resolved Hide resolved

jobs:
shellcheck:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/escalation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- 'escalation/**'
- 'pipeline/**'
- 'scripts/**'
- .github/workflows/escalation.yml
- .github/workflows/workflow-executor.yml

jobs:
escalation-workflow:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/greeting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
paths:
- 'greeting/**'
- 'pipeline/**'
- .github/workflows/greeting.yml
- .github/workflows/main.yml

jobs:
call-main-workflow:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/jira-listener.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- 'escalation/jira-listener/**'
- 'pipeline/**'
- 'scripts/**'
- .github/workflows/jira-listener.yml
- .github/workflows/workflow-executor.yml

jobs:
jira-listener:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/m2k-func.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
paths:
- 'move2kube/m2k-func/**'
- 'pipeline/**'
- .github/workflows/m2k-func.yml

env:
WORKDIR: move2kube/m2k-func
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
env:
GH_TOKEN: ${{ secrets.HELM_REPO_TOKEN }}
run: |
git config --global user.email "${{ github.event.head_commit.author.email || 'parodos@redhat.com' }}"
dmartinol marked this conversation as resolved.
Show resolved Hide resolved
git config --global user.name ${{ github.event.head_commit.author.name || github.triggering_actor }}
gh repo clone $WF_CONFIG_REPO config-repo
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }} "
gh repo clone $WF_CONFIG_REPO config-repo
cd config-repo
git switch -c autopr-$RANDOM
./hack/bump_version.sh ${{ inputs.workflow_id }}:patch patch
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/move2kube-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
paths:
- 'move2kube/**'
- 'pipeline/**'
- .github/workflows/move2kube-e2e.yml
- .github/workflows/m2k-func.yml
- .github/workflows/main.yml

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/move2kube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- 'move2kube/**'
- 'pipeline/**'
- 'e2e/move2kube.sh'
- .github/workflows/move2kube-e2e.yml
- .github/workflows/m2k-func.yml
- .github/workflows/main.yml

jobs:
call-kfunc-workflow:
uses: parodos-dev/serverless-workflows/.github/workflows/m2k-func.yaml@main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mta-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- 'pipeline/**'
- 'e2e/mta.sh'
- '!mta/*.svg'
- .github/workflows/mta-e2e.yml
- .github/workflows/main.yml

jobs:
build:
uses: parodos-dev/serverless-workflows/.github/workflows/main.yml@main
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
paths:
- 'mta/**'
- 'pipeline/**'
- .github/workflows/mta.yml
- .github/workflows/main.yml

jobs:
call-main-workflow:
Expand Down
Loading