Skip to content

Commit

Permalink
actions.yml: fix typo (#136)
Browse files Browse the repository at this point in the history
Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
  • Loading branch information
jrfnl and jrfnl authored Jan 6, 2025
1 parent 657e437 commit 0bec9f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
# tried to use https://github.heygears.community/t5/GitHub-Actions/Usage-of-expressions-and-contexts-in-uses-clause/m-p/39507/highlight/false#M3837
# but doesn't seem to work
- name: Test (PR)
id: test-pr
# Add your repository and branch here to test your changes
# e.g. eps1lon/actions-label-merge-conflict@feat/retry-unknown
uses: ./
Expand All @@ -42,7 +43,10 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."
- name: Check output (PR)
run: echo "Generated output ${{ steps.test-pr.outputs.prDirtyStatuses }}"
- name: Test
id: test-main
uses: eps1lon/actions-label-merge-conflict@main
with:
# pull_requests don't have access to secrets
Expand All @@ -52,3 +56,5 @@ jobs:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved. A maintainer will review the pull request shortly."
- name: Check output
run: echo "Generated output ${{ steps.test-main.outputs.prDirtyStatuses }}"
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
description: "String. Comment to add when the pull request is conflicting. Supports markdown."
commentOnClean:
description: "String. Comment to add when the pull request is not conflicting anymore. Supports markdown."
ouputs:
outputs:
prDirtyStatuses:
description: "Object-map. The keys are pull request numbers and their values whether a PR is dirty or not."
runs:
Expand Down

0 comments on commit 0bec9f3

Please # to comment.