diff --git a/action.yml b/action.yml index e8be486..3f290ad 100644 --- a/action.yml +++ b/action.yml @@ -19,18 +19,22 @@ inputs: checkout: description: 'checkout repo first' default: 'true' + tag: + description: 'checkout repo first' + default: 'true' runs: using: "composite" steps: - name: Checkout repository - if: ${{ github.event.inputs.foo == 'true' }} + if: ${{ inputs.checkout == 'true' }} uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 with: fetch-depth: '0' - name: Bump version and push tag id: tag + if: ${{ inputs.tag == 'true' }} uses: phadric/github-tag-action@a5250a59655e9f4b0350407380a92c73948f2aec # master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token