Skip to content

Commit 7ee3f04

Browse files
dependabot[bot]CopilotsweatybridgeCopilot
authored
chore(deps): bump the actions-major group across 1 directory with 2 updates (#5002)
* chore(deps): bump the actions-major group across 1 directory with 2 updates Bumps the actions-major group with 2 updates in the / directory: [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) and [github/codeql-action](https://github.com/github/codeql-action). Updates `dependabot/fetch-metadata` from 2.5.0 to 3.0.0 - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@21025c7...ffa630c) Updates `github/codeql-action` from 4.34.1 to 4.35.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@3869755...c10b806) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-major - dependency-name: github/codeql-action dependency-version: 4.35.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-major ... Signed-off-by: dependabot[bot] <support@github.com> * feat: add workflow to create and push pkg Go module version tags (#5001) * Initial plan * feat: add workflow to create and push pkg version tags Agent-Logs-Url: https://github.com/supabase/cli/sessions/78b5dd93-1c78-4cdc-b6f0-c664080934b8 Co-authored-by: sweatybridge <1639722+sweatybridge@users.noreply.github.com> * feat: add version validation and tag existence check to tag-pkg workflow Agent-Logs-Url: https://github.com/supabase/cli/sessions/78b5dd93-1c78-4cdc-b6f0-c664080934b8 Co-authored-by: sweatybridge <1639722+sweatybridge@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sweatybridge <1639722+sweatybridge@users.noreply.github.com> Co-authored-by: Han Qiao <sweatybridge@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: sweatybridge <1639722+sweatybridge@users.noreply.github.com> Co-authored-by: Han Qiao <sweatybridge@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 114a9dc commit 7ee3f04

File tree

3 files changed

+40
-3
lines changed

3 files changed

+40
-3
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# will not occur.
1919
- name: Dependabot metadata
2020
id: meta
21-
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
21+
uses: dependabot/fetch-metadata@ffa630c65fa7e0ecfa0625b5ceda64399aea1b36 # v3.0.0
2222
with:
2323
github-token: "${{ secrets.GITHUB_TOKEN }}"
2424

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
# Initializes the CodeQL tools for scanning.
6262
- name: Initialize CodeQL
63-
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
63+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
6464
with:
6565
languages: ${{ matrix.language }}
6666
build-mode: ${{ matrix.build-mode }}
@@ -88,6 +88,6 @@ jobs:
8888
exit 1
8989
9090
- name: Perform CodeQL Analysis
91-
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v4.34.1
91+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
9292
with:
9393
category: "/language:${{matrix.language}}"

.github/workflows/tag-pkg.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Tag pkg
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "pkg version to tag (e.g. v1.2.2)"
8+
required: true
9+
type: string
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
tag:
16+
name: Create pkg tag
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
with:
21+
ref: develop
22+
fetch-depth: 0
23+
24+
- name: Create and push pkg tag
25+
run: |
26+
VERSION="${{ inputs.version }}"
27+
if ! [[ "$VERSION" =~ ^v(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then
28+
echo "Error: version '$VERSION' does not match semver format (e.g. v1.2.2)"
29+
exit 1
30+
fi
31+
TAG="pkg/$VERSION"
32+
if git rev-parse "$TAG" >/dev/null 2>&1; then
33+
echo "Error: tag '$TAG' already exists"
34+
exit 1
35+
fi
36+
git tag "$TAG"
37+
git push origin "$TAG"

0 commit comments

Comments
 (0)