mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-16 22:24:45 +00:00
Do not change default version on known checksum update (#39)
This commit is contained in:
parent
bfebbf80cb
commit
b3cf8231d5
8 changed files with 34804 additions and 101 deletions
2
.github/release-drafter.yml
vendored
2
.github/release-drafter.yml
vendored
|
@ -19,7 +19,7 @@ categories:
|
|||
labels:
|
||||
- "maintenance"
|
||||
- "ci"
|
||||
- "default-version-update"
|
||||
- "update-known-checksums"
|
||||
- title: "📚 Documentation"
|
||||
labels:
|
||||
- "documentation"
|
||||
|
|
33
.github/workflows/update-default-version.yml
vendored
33
.github/workflows/update-default-version.yml
vendored
|
@ -1,33 +0,0 @@
|
|||
name: "Update default version and checksums"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Update default version and checksums
|
||||
id: update-default-version
|
||||
run:
|
||||
node dist/update-default-version/index.js
|
||||
src/download/checksum/known-checksums.ts action.yml ${{
|
||||
secrets.GITHUB_TOKEN }}
|
||||
- run: npm install && npm run all
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20 # v7.0.1
|
||||
with:
|
||||
commit-message: "chore: update checksums"
|
||||
title:
|
||||
"chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}"
|
||||
body:
|
||||
"chore: update default version to ${{
|
||||
steps.update-default-version.outputs.latest-version }}"
|
||||
base: main
|
||||
labels: "automated-pr,default-version-update"
|
||||
branch: update-default-version-pr
|
||||
delete-branch: true
|
32
.github/workflows/update-known-checksums.yml
vendored
Normal file
32
.github/workflows/update-known-checksums.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: "Update known checksums"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Update known checksums
|
||||
id: update-known-checksums
|
||||
run:
|
||||
node dist/update-known-checksums/index.js
|
||||
src/download/checksum/known-checksums.ts ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: npm install && npm run all
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@4320041ed380b20e97d388d56a7fb4f9b8c20e79 # v7.0.0
|
||||
with:
|
||||
commit-message: "chore: update known checksums"
|
||||
title:
|
||||
"chore: update known checksums for ${{
|
||||
steps.update-known-checksums.outputs.latest-version }}"
|
||||
body:
|
||||
"chore: update known checksums for ${{
|
||||
steps.update-known-checksums.outputs.latest-version }}"
|
||||
base: main
|
||||
labels: "automated-pr,update-known-checksums"
|
||||
branch: update-known-checksums-pr
|
||||
delete-branch: true
|
Loading…
Add table
Add a link
Reference in a new issue