Update action.yml
All checks were successful
Actionlint / build (push) Successful in 21s

This commit is contained in:
2025-10-02 16:36:30 +03:00
parent 4ad0f27344
commit 2085bb5404

View File

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