GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Automate the bundle upgrade by henrymercer · Pull Request #1630 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

This PR automates the process of updating the default CodeQL Bundle. This minimises error, speeds up the release process, and lets us more easily make changes to how we represent the default CodeQL Bundle within the Action.

The workflow is triggered when a new bundle release is taken out of draft and made pre-release. It automatically opens a PR to bump the default bundle, and adds a changelog note. The CLI release manager then just needs to take this PR out of draft to run the checks, approve and merge.

Commit-by-commit review recommended — the first commit moves internal Actions into .github/actions which generates a large diff.

For GitHub staff, see an example Actions run and PR generated by this workflow.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer added 2 commits April 3, 2023 18:29
@henrymercer
Move internal Actions into .github/actions
e85546c
This is a more standard location for these custom Actions.
@henrymercer
Add workflow to automatically update the bundle
1c0a788
@henrymercer
henrymercer requested a review from a team as a code owner April 3, 2023 18:13
adityasharad
adityasharad previously approved these changes Apr 3, 2023
View reviewed changes

@adityasharad adityasharad left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks reasonable. Minor suggestions only, and we can always improve over time.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/actions/update-bundle/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/actions/update-bundle/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .github/workflows/update-bundle.yml Resolved

Uh oh!

There was an error while loading. Please reload this page.

henrymercer added 3 commits April 3, 2023 19:30
@henrymercer
Format .github/actions/update-bundle/index.ts
33f3087
@henrymercer
Explain CLI version marker files
a86046f
@henrymercer
Use tee when setting env vars to improve debugging
f6091a0
@henrymercer
henrymercer dismissed adityasharad’s stale review via f6091a0 April 3, 2023 18:34
adityasharad
adityasharad previously approved these changes Apr 3, 2023
View reviewed changes
@henrymercer
Add a comment about lib/defaults.json
98173be
@henrymercer
henrymercer dismissed adityasharad’s stale review via 98173be April 3, 2023 18:39
adityasharad
adityasharad approved these changes Apr 3, 2023
View reviewed changes
@henrymercer
henrymercer enabled auto-merge April 3, 2023 18:48
@henrymercer
henrymercer merged commit f0a422f into main Apr 3, 2023
@henrymercer
henrymercer deleted the henrymercer/automate-bundle-upgrade branch April 3, 2023 19:07
@github-actions github-actions Bot mentioned this pull request Apr 5, 2023
Merge main into releases/v2 #1634
Merged
5 of 6 tasks
@aliscco aliscco mentioned this pull request Jun 22, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/codeql-action#567
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adityasharad adityasharad adityasharad approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@henrymercer @adityasharad
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.