Skip to content

Commit

Permalink
doc: Update README example to checkout tags
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Nov 3, 2022
1 parent d44e67d commit 5e9a78c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,17 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Development Freezer
uses: redhat-plumbers-in-action/devel-freezer@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
> **Note**: `fetch-depth: 0` is required in order to have access to full history including tags.

```yml
policy:
- tags: ['alpha', 'beta']
Expand Down

0 comments on commit 5e9a78c

Please sign in to comment.