1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-02-04 16:18:41 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
dependabot[bot]
3a187d32b8
Merge 313e4bdcba into 962b721a24 2023-10-30 09:44:59 +00:00
962b721a24
create update-empty-branch 2023-10-30 17:44:00 +09:00
24ac4ed7b1
create update-latest-release action 2023-10-30 16:40:54 +09:00
dependabot[bot]
313e4bdcba
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /vercel-fastify
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-04 10:45:05 +00:00
3 changed files with 50 additions and 3 deletions

View file

@ -0,0 +1,18 @@
name: update-empty-branch
on:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git worktree add --track -b empty empty origin/empty
rm -rf empty/*
git config user.name bot
git config user.email '<>'
git -C empty add --all
git -C empty commit --allow-empty --message "based on $(git rev-parse @)"
git -C empty push origin empty

View file

@ -0,0 +1,29 @@
name: update-latest-release
on:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo ok > hello.txt
# - uses: actions/github-script@v6
# with:
# script: |
# const { data: release } = await github.rest.repos.getLatestRelease(context.repo);
# const name = "hello.txt";
# const data = await require("node:fs").promises.readFile(name);
# await github.rest.repos.uploadReleaseAsset({
# ...context.repo,
# release_id: release.id,
# name,
# data,
# });
- run: |
latest=$(gh release view --json tagName --jq .tagName)
gh release delete-asset "${latest}" hello.txt || :
gh release upload "${latest}" hello.txt
env:
GH_TOKEN: ${{ github.token }}

View file

@ -841,9 +841,9 @@ has-yarn@^2.1.0:
integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==
http-cache-semantics@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
version "4.1.1"
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a"
integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==
human-signals@^2.1.0:
version "2.1.0"