-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,17 +31,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: docker://tiangolo/latest-changes:0.2.0 | ||
- uses: docker://tiangolo/latest-changes:0.2.1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
**Note**: you can also use the GitHub action directly instead of with Docker, but that would take an extra minute: | ||
```YAML | ||
# - uses: docker://tiangolo/latest-changes:0.2.0 | ||
# - uses: docker://tiangolo/latest-changes:0.2.1 | ||
# This is slower but also works | ||
- uses: tiangolo/[email protected].0 | ||
- uses: tiangolo/[email protected].1 | ||
``` | ||
In this minimal example, it uses all the default configurations. | ||
|
@@ -173,7 +173,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: tiangolo/[email protected].0 | ||
- uses: tiangolo/[email protected].1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
latest_changes_file: docs/release-notes.md | ||
|
@@ -209,13 +209,13 @@ In this custom config: | |
* It uses the GitHub action directly: | ||
|
||
``` | ||
tiangolo/[email protected].0 | ||
tiangolo/[email protected].1 | ||
``` | ||
instead of with Docker: | ||
``` | ||
docker://tiangolo/latest-changes:0.2.0 | ||
docker://tiangolo/latest-changes:0.2.1 | ||
``` | ||
**Note**: that would make every run about 1 min slower, but you can do that if you prefer it 🤷. | ||
|
@@ -298,7 +298,7 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.ACTIONS_TOKEN }} | ||
- uses: docker://tiangolo/latest-changes:0.2.0 | ||
- uses: docker://tiangolo/latest-changes:0.2.1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
``` | ||
|
@@ -322,6 +322,8 @@ So, the commits will still be shown as made by `github-actions`. | |
|
||
### Latest Changes - Latest Changes 🤷 | ||
|
||
### 0.2.1 | ||
|
||
#### Fixes | ||
|
||
* 🐛 Detect if there's a second level header after the release content, to support the first change in a README with a last section for a license. PR [#59](https://github.com/tiangolo/latest-changes/pull/59) by [@tiangolo](https://github.com/tiangolo). | ||
|