Skip to content

chore(version-v3): update version of checkout to 7 - #204

Merged
PetitLepton merged 1 commit into
masterfrom
feat/bump-version
Sep 17, 2026
Merged

PetitLepton merged 1 commit into
masterfrom
feat/bump-version

Conversation

@PetitLepton

@PetitLepton PetitLepton commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

This PR changes the version of the underlying checkout action.

To test the result, I created a specific action calling version-v3 in https://github.com/sencrop/to-test-actions.

---
name: Test version from commit

on:
  workflow_dispatch:
    inputs:
      environment:
        description: 'Environment'
        required: true
        default: 'preproduction'
        type: choice
        options:
          - preproduction
          - production

env:
  AWS_DEFAULT_REGION: eu-central-1

jobs:
  version:
    uses: sencrop/github-workflows/.github/workflows/version-v3.yml@865abcf885f95712fbaf1cb1cc8b416be27e3276
    with:
      from: sha
      
  show-version:
    needs: version
    runs-on: ubuntu-latest
    steps:
      - name: Print version
        run: |
          {
            echo "version: ${{ needs.version.outputs.version }}"
            echo "previous_version: ${{ needs.version.outputs.previous_version }}"
          } >> $GITHUB_STEP_SUMMARY

which output the resulting version. A second one was created using @master.

The results are below. The first corresponds to the master branch of this repository. As expected, a message about the version of Node is shown. The second corresponds to this PR. The message disappeared. Both output the same expected result.

Screenshot 2026-09-11 at 13-38-20 Test version from master · sencrop_to-test-actions@01f8461 Screenshot 2026-09-11 at 13-37-47 Test version from commit · sencrop_to-test-actions@01f8461

@PetitLepton
PetitLepton merged commit fead6dd into master Sep 17, 2026
1 check passed
@PetitLepton
PetitLepton deleted the feat/bump-version branch September 17, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants