Skip to content
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
13 changes: 7 additions & 6 deletions .github/workflows/check-release-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set Node.js 20
uses: actions/setup-node@v3
- uses: actions/checkout@v6
- name: Set Node.js 24
uses: actions/setup-node@v6
with:
node-version: 20
node-version-file: package.json
cache: npm
- name: Install dependencies
run: npm i
run: npm ci
- name: Rebuild the dist/ directory
run: npm run prepare
- name: Compare the expected and actual dist/ directories
Expand All @@ -39,7 +40,7 @@ jobs:
fi
id: diff
# If index.js was different than expected, upload the unexpected version as an artifact
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@v1.4.3
- uses: thehanimo/pr-title-checker@v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand All @@ -79,7 +79,7 @@ To learn more about workflows, see [Create an example workflow.](https://docs.gi
```yaml
...
steps:
- uses: thehanimo/pr-title-checker@v1.4.3
- uses: thehanimo/pr-title-checker@v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand All @@ -92,7 +92,7 @@ Note that this has to be a url pointing to a valid, raw json file. See [#28](htt
```yaml
...
steps:
- uses: thehanimo/pr-title-checker@v1.4.3
- uses: thehanimo/pr-title-checker@v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand All @@ -108,7 +108,7 @@ Note that this has to be a url pointing to a valid, raw json file. See [#28](htt
```yaml
...
steps:
- uses: thehanimo/pr-title-checker@v1.4.3
- uses: thehanimo/pr-title-checker@v2.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
Expand All @@ -123,7 +123,7 @@ You can use the action output to execute follow up steps e.g. adding a comment.

```yml
steps:
- uses: thehanimo/pr-title-checker@v1.4.3
- uses: thehanimo/pr-title-checker@v2.0.0
id: check
continue-on-error: true
with:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ outputs:
success:
description: true if the PR title is valid, false otherwise. Undefined if an error occurred.
runs:
using: node20
using: node24
main: dist/index.js
Loading