Skip to content

Commit

Permalink
Merge pull request #777 from kachick/update-selfup-v1.x
Browse files Browse the repository at this point in the history
Bump selfup to v1.x
  • Loading branch information
kachick authored Apr 25, 2024
2 parents 2ae78e3 + 13bcade commit b587f3e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ body:
label: Version
description: What version are you using?
options:
- 'v3.2.0' # selfup { "regex": "v\\d[^']+", "script": "git tag --list 'v3.*' | tail -1" }
- 'v2.0.4' # selfup { "regex": "v\\d[^']+", "script": "git tag --list 'v2.*' | tail -1" }
- 'v1.3.0' # selfup { "regex": "v\\d[^']+", "script": "git tag --list 'v1.*' | tail -1" }
- 'v3.2.0' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v3.*' | tail -1"]}
- 'v2.0.4' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v2.*' | tail -1"]}
- 'v1.3.0' # selfup {"extract":"v\\d[^']+","replacer":["bash","-c","git tag --list 'v1.*' | tail -1"]}
- other
default: 0
validations:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4
with:
deno-version: '1.42.3' # selfup { "regex": "\\d[^']+", "script": "deno --version | head -n 1 | cut -d ' ' -f 2" }
deno-version: '1.42.3' # selfup {"extract":"\\d[^']+","replacer":["bash","-c","deno --version | head -n 1"], "nth": 2}
- run: deno lint
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: dprint/check@2f1cf31537886c3bfb05591c031f7744e48ba8a1 # v2.2
with:
dprint-version: '0.45.0' # selfup { "regex": "\\d[^']+", "script": "dprint --version | cut -d ' ' -f 2" }
dprint-version: '0.45.0' # selfup { "extract": "\\d[^']+", "replacer": ["dprint", "--version"], "nth": 2 }

typos:
timeout-minutes: 15
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-nixpkgs-and-versions-in-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
update-nixpkgs:
uses: kachick/selfup/.github/workflows/reusable-bump-flake-lock-and-selfup.yml@action-v1
uses: kachick/selfup/.github/workflows/reusable-bump-flake-lock-and-selfup.yml@v1.1.1
with:
dry-run: ${{ github.event_name == 'pull_request' }}
optional-run: |
Expand Down
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@
text = ''
set -x
nix run github:kachick/selfup/v0.0.2 -- run --prefix='# selfup ' --skip-by='nix run' .github/ISSUE_TEMPLATE/*.yml && git add .github
git update-index -q --really-refresh
git diff-index --quiet HEAD || git commit -m 'Update latest versions in issue template' .github
node --version | sd '^v?' "" > .node-version && git add .node-version
git update-index -q --really-refresh
git diff-index --quiet HEAD || git commit -m 'Sync .node-version with nixpkgs' .node-version
Expand Down

0 comments on commit b587f3e

Please sign in to comment.