diff --git a/.github/actions/semantic/action.yaml b/.github/actions/semantic/action.yaml index f055e4d..350e061 100644 --- a/.github/actions/semantic/action.yaml +++ b/.github/actions/semantic/action.yaml @@ -1,6 +1,10 @@ name: "Test job" description: "Reusable action to perform a task" inputs: + no-checkout: + description: "Skip the checkout step" + required: false + default: false github-token: description: "GitHub token for the semantic release action" required: true @@ -17,11 +21,12 @@ runs: using: "composite" steps: - name: Checkout + if: inputs.no-checkout == false uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - name: Create Inside - shell: bash - run: echo "TEST" >> test.txt +# - name: Create Inside +# shell: bash +# run: echo "TEST" >> test.txt - name: Semantic Release id: semantic diff --git a/.github/workflows/pr-semantic.yaml b/.github/workflows/pr-semantic.yaml index 7af4353..952a3e6 100644 --- a/.github/workflows/pr-semantic.yaml +++ b/.github/workflows/pr-semantic.yaml @@ -21,6 +21,7 @@ jobs: - name: Create uses: ./.github/actions/semantic with: + no-checkout: true github-token: ${{ secrets.GITHUB_TOKEN }} release-assets: | gradle/wrapper/gradle-wrapper.properties