Skip to content

Commit d3f05c9

Browse files
authored
Merge pull request #25 from GrantBirki/general-updates
General Dependency Updates
2 parents b4b6081 + 9fe4f9a commit d3f05c9

8 files changed

Lines changed: 229 additions & 191 deletions

File tree

.github/workflows/json-yaml-validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
- uses: actions/checkout@v4
1818

1919
- name: json-yaml-validate
20-
uses: GrantBirki/json-yaml-validate@v2.4.0
20+
uses: GrantBirki/json-yaml-validate@v2
2121
with:
2222
comment: "true" # enable comment mode

.github/workflows/package-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: diff
4141

4242
# If index.js was different than expected, upload the expected version as an artifact
43-
- uses: actions/upload-artifact@v3
43+
- uses: actions/upload-artifact@v4
4444
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
4545
with:
4646
name: dist

.github/workflows/sample-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: cat $DIFF
3939

4040
# Upload the json diff as an artifact
41-
- uses: actions/upload-artifact@v3
41+
- uses: actions/upload-artifact@v4
4242
with:
4343
name: json-diff
4444
path: ~/diff.json
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Update Latest Release Tag
2+
run-name: Update ${{ github.event.inputs.major_version_tag }} with ${{ github.event.inputs.source_tag }}
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
source_tag:
8+
description: 'The tag or reference to use as the source (example: v8.0.0)'
9+
required: true
10+
default: vX.X.X
11+
major_version_tag:
12+
description: 'The major release tag to update with the source (example: v8)'
13+
required: true
14+
default: vX
15+
16+
permissions:
17+
contents: write
18+
19+
jobs:
20+
tag:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: git config
28+
run: |
29+
git config user.name github-actions
30+
git config user.email github-actions@github.com
31+
32+
- name: tag new target
33+
run: git tag -f ${{ github.event.inputs.major_version_tag }} ${{ github.event.inputs.source_tag }}
34+
35+
- name: push new tag
36+
run: git push origin ${{ github.event.inputs.major_version_tag }} --force

dist/index.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 184 additions & 185 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@actions/github": "^6.0.0",
3232
"dedent-js": "^1.0.1",
3333
"js-yaml": "^4.1.0",
34-
"parse-git-diff": "^0.0.14"
34+
"parse-git-diff": "^0.0.15"
3535
},
3636
"jest": {
3737
"coverageReporters": [
@@ -59,7 +59,7 @@
5959
"jest": "^29.7.0",
6060
"babel-core": "^6.26.3",
6161
"babel-jest": "^29.7.0",
62-
"prettier": "^3.0.3",
62+
"prettier": "^3.2.5",
6363
"make-coverage-badge": "^1.2.0"
6464
}
6565
}

0 commit comments

Comments
 (0)