Skip to content

Commit

Permalink
fix: pin Actions to major versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Jan 12, 2024
1 parent 630705a commit c9d01f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
# Lint the commits in the PR
- id: commit-linter
name: Lint Commits
uses: redhat-plumbers-in-action/advanced-commit-linter@main
uses: redhat-plumbers-in-action/advanced-commit-linter@v3
with:
pr-metadata: ${{ inputs.pr-metadata && inputs.pr-metadata || steps.metadata.outputs.metadata }}
token: ${{ inputs.token }}
Expand All @@ -49,7 +49,7 @@ runs:
- if: ${{ !cancelled() }}
id: tracker-validator
name: Validate Tracker
uses: redhat-plumbers-in-action/tracker-validator@main
uses: redhat-plumbers-in-action/tracker-validator@v2
with:
pr-metadata: ${{ inputs.pr-metadata && inputs.pr-metadata || steps.metadata.outputs.metadata }}
component: systemd
Expand All @@ -65,15 +65,15 @@ runs:
- if: ${{ !cancelled() }}
id: pull-request-validator
name: Pull Request Validator
uses: redhat-plumbers-in-action/pull-request-validator@main
uses: redhat-plumbers-in-action/pull-request-validator@v2
with:
pr-metadata: ${{ inputs.pr-metadata && inputs.pr-metadata || steps.metadata.outputs.metadata }}
token: ${{ inputs.token }}

# Merge the PR if all checks passed
- id: auto-merge
name: Auto Merge
uses: redhat-plumbers-in-action/auto-merge@main
uses: redhat-plumbers-in-action/auto-merge@v2
with:
pr-metadata: ${{ inputs.pr-metadata && inputs.pr-metadata || steps.metadata.outputs.metadata }}
tracker: ${{ fromJSON(steps.commit-linter.outputs.validated-pr-metadata).validation.tracker.id }}
Expand All @@ -87,7 +87,7 @@ runs:
# Always show the results in PR sticky comment
- if: ${{ !cancelled() }}
name: Show results in PR comment
uses: redhat-plumbers-in-action/issue-commentator@main
uses: redhat-plumbers-in-action/issue-commentator@v1
with:
issue: ${{ fromJSON(inputs.pr-metadata).number }}
message: |
Expand Down

0 comments on commit c9d01f2

Please sign in to comment.