Merge pull request #171 from tj-actions/renovate/actions-checkout-4.x #489
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
name: CI | |
permissions: | |
contents: read | |
on: | |
release: | |
types: | |
- created | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test semver-diff | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: shellcheck | |
uses: reviewdog/action-shellcheck@v1 | |
- name: Run semver-diff | |
id: semver-diff | |
uses: ./ | |
- name: Show release type | |
run: | | |
echo "Release type: ${{ steps.semver-diff.outputs.release_type }}" |