Skip to content

Commit

Permalink
Merge pull request #25 from GrantBirki/general-updates
Browse files Browse the repository at this point in the history
General Dependency Updates
  • Loading branch information
GrantBirki authored Feb 20, 2024
2 parents b4b6081 + 9fe4f9a commit d3f05c9
Show file tree
Hide file tree
Showing 8 changed files with 229 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/json-yaml-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
- uses: actions/checkout@v4

- name: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2.4.0
uses: GrantBirki/json-yaml-validate@v2
with:
comment: "true" # enable comment mode
2 changes: 1 addition & 1 deletion .github/workflows/package-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
id: diff

# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sample-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: cat $DIFF

# Upload the json diff as an artifact
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: json-diff
path: ~/diff.json
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/update-latest-release-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Update Latest Release Tag
run-name: Update ${{ github.event.inputs.major_version_tag }} with ${{ github.event.inputs.source_tag }}

on:
workflow_dispatch:
inputs:
source_tag:
description: 'The tag or reference to use as the source (example: v8.0.0)'
required: true
default: vX.X.X
major_version_tag:
description: 'The major release tag to update with the source (example: v8)'
required: true
default: vX

permissions:
contents: write

jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: git config
run: |
git config user.name github-actions
git config user.email [email protected]
- name: tag new target
run: git tag -f ${{ github.event.inputs.major_version_tag }} ${{ github.event.inputs.source_tag }}

- name: push new tag
run: git push origin ${{ github.event.inputs.major_version_tag }} --force
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

369 changes: 184 additions & 185 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@actions/github": "^6.0.0",
"dedent-js": "^1.0.1",
"js-yaml": "^4.1.0",
"parse-git-diff": "^0.0.14"
"parse-git-diff": "^0.0.15"
},
"jest": {
"coverageReporters": [
Expand Down Expand Up @@ -59,7 +59,7 @@
"jest": "^29.7.0",
"babel-core": "^6.26.3",
"babel-jest": "^29.7.0",
"prettier": "^3.0.3",
"prettier": "^3.2.5",
"make-coverage-badge": "^1.2.0"
}
}

0 comments on commit d3f05c9

Please sign in to comment.