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

Adjust workflow triggers. #1758

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Indy Node - PR Workflow
on:
pull_request:
paths:
- '**'
- "!plenum/__version__.json"

branches:
- ubuntu-20.04-upgrade
- feature/did-indy*
workflow_dispatch:

workflow_dispatch:

jobs:
workflow-setup:
Expand All @@ -17,7 +21,7 @@ jobs:
# to all subsequent jobs that reference image repositories
# as the push and pull operations require the URL of the repository
# to be in lowercase.
GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}
GITHUB_REPOSITORY_NAME: ${{ steps.setup.outputs.GITHUB_REPOSITORY_NAME }}
distribution: ${{ steps.setup.outputs.distribution }}
publish: ${{ steps.setup.outputs.publish }}
testsNeeded: ${{ steps.testsNeeded.outputs.testsNeeded }}
Expand All @@ -36,14 +40,14 @@ jobs:
- '**.py'
- '.github/**'
- 'build-scripts/**'
- 'bump_version.sh'
- 'bump_version.sh'

lint:
name: Lint
needs: [workflow-setup]
if: ${{ needs.workflow-setup.outputs.testsNeeded == 'true' }}
uses: hyperledger/indy-shared-gha/.github/workflows/lint.yaml@v1

build-image:
name: Create Builder Image
needs: [workflow-setup, lint]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releasepr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ jobs:
statusCheck:
name: statusCheck
runs-on: ubuntu-latest
needs: [workflow-setup, build_packages]
needs: [build_packages]
steps:
- run: 'echo "Just a status Check (Always true, when executed) for branch protection rules(blocks merging while test are running and if tests fail)." '