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

release: v1.0.1 #2

Merged
merged 1 commit into from
Jul 24, 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.0.1] - 2024-07-24
### Updated
- explicitly order the result by descending creation date

## [1.0.0] - 2024-07-23
### Added
- created action
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Create Or Update Issue

This GitHub Action creates an issue or comments on an existing issue if a workflow run fails.
This GitHub Action creates an issue or comments on an existing issue if a
workflow run fails. It picks the latest created issue with the given label
to comment.

## Inputs

Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ async function run() {
repo,
state: 'open',
labels: label,
orderBy: 'created',
direction: 'desc',
});

const issueNumber = issues.length > 0 ? issues[0].number : null;
Expand Down
Loading