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

Fix parse automated PR's #4

Merged
merged 7 commits into from
Mar 8, 2024
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
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20'

- run: npm install
- run: npm run test
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '20'

- run: npm install
- run: npm run build
18 changes: 14 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: 'github-add-changelog-action'
description: 'Extract changelog entries and add to CHANGELOG.md'
author: 'Tjitse-E'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
inputs:
local_changelog_file_path:
description: >
The path to the local changelog file, we'll use this path instead of the remote file if it's set.
required: false
token:
description: Your Github token
required: true
Expand All @@ -20,9 +24,15 @@ inputs:
In the format `[email protected]`.
default: [email protected]
required: false
body:
description: The body of the PR
required: false
owner:
description: The owner of the repository
required: true
repo:
description: The repository name
required: true
pr_number:
description: The number of the pull request
required: true
commit_message:
description: The commit message
default: 'Add changelog entry'
Expand Down
Loading
Loading