diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 9e03a999..dea85842 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -80,9 +80,15 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Get latest release + id: semver + uses: ietf-tools/semver-action@v1 + with: + token: ${{ github.token }} - uses: dorny/paths-filter@v3 id: filter with: + ref: ${{ steps.semver.outputs.semver.current }} filters: | action: - 'action/**'