Skip to content

Commit

Permalink
release: v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta authored Jul 24, 2024
2 parents 0384a1f + abc8e50 commit 1c3635e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
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

0 comments on commit 1c3635e

Please sign in to comment.