Skip to content

Commit

Permalink
🔖 Release version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Nov 4, 2023
1 parent 99530e7 commit 12ca455
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 🤷.
Expand Down Expand Up @@ -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 }}
```
Expand All @@ -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).
Expand Down

0 comments on commit 12ca455

Please sign in to comment.