Skip to content

Bump sample version pin to v1.6.0, automate future bumps on release - #30

Merged
felickz merged 1 commit into
mainfrom
copilot/bump-pinned-version-in-samples
Aug 5, 2026
Merged

Bump sample version pin to v1.6.0, automate future bumps on release#30
felickz merged 1 commit into
mainfrom
copilot/bump-pinned-version-in-samples

Conversation

Copilot AI commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Samples pinned advanced-security/set-codeql-language-matrix to the rolling @v1 major tag. With immutable releases now enabled, a full release tag can't be moved or deleted after publish, making it as secure as a commit SHA while staying human-readable.

README samples

  • Bumped all 4 @v1 references to @v1.6.0 (current latest release)
  • Added a short note explaining the pinning recommendation and linking to the new automation

Automated version bump on release

  • New workflow .github/workflows/bump-sample-version.yml, triggered by release: types: [published]
  • Skips prereleases, validates the tag matches vX.Y.Z, then rewrites any @vX.Y.Z pin of this action in README.md to the new tag
  • Opens (or updates, if one is already open) a PR via peter-evans/create-pull-request, pinned to a commit SHA per org convention
- name: Get languages from repo
  id: set-matrix
  uses: advanced-security/set-codeql-language-matrix@v1.6.0   # was @v1

Docs

  • CONTRIBUTING.md documents the new automated process alongside the existing rolling v1 tag instructions (unaffected — immutable releases only apply going forward)

Note: the workflow's Create Pull Request step requires the repo setting Settings > Actions > General > Workflow permissions > Allow GitHub Actions to create and approve pull requests to be enabled.

Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 5, 2026 04:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Copilot AI changed the title Bump sample version to v1.6.0 and automate future bumps on release Bump sample version pin to v1.6.0, automate future bumps on release Aug 5, 2026
Copilot AI requested a review from felickz August 5, 2026 04:14
@felickz
felickz requested a lite review from Copilot August 5, 2026 04:18
@felickz
felickz marked this pull request as ready for review August 5, 2026 04:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@felickz
felickz merged commit 703564e into main Aug 5, 2026
6 checks passed
@felickz
felickz deleted the copilot/bump-pinned-version-in-samples branch August 5, 2026 04:20
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.

3 participants