Skip to content

Commit

Permalink
Merge pull request #52 from GrantBirki/deps-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 9caf79a + 74976b3 commit 53fae7e
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 186 deletions.
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
38 changes: 33 additions & 5 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.

27 changes: 20 additions & 7 deletions docs/acceptance-test-results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ package-lock.json is valid
package.json is valid
dist/schema.json is valid
skipping due to exclude match: tmp/invalid.json
skipping due to exclude match: __tests__/acceptance/dev/test2.json
skipping due to exclude match: __tests__/acceptance/prod/test1.json
skipping due to exclude match: __tests__/acceptance/staging/code.json
skipping due to exclude match: __tests__/fixtures/schemas/challenge.json
skipping due to exclude match: __tests__/fixtures/schemas/schema1.json
skipping due to exclude match: __tests__/fixtures/schemas/schema2.json
skipping due to exclude match: __tests__/fixtures/json/invalid/json1.json
skipping due to exclude match: __tests__/fixtures/json/invalid/skip-bad.json
skipping due to exclude match: __tests__/fixtures/json/valid/json1.json
skipping due to exclude match: __tests__/fixtures/json/mixture/json1.json
skipping due to exclude match: __tests__/fixtures/json/mixture/json2.json
skipping due to exclude match: __tests__/fixtures/json/valid/json1.json
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/good-json.json
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/invalid-json.json
skipping due to exclude match: __tests__/fixtures/json/project_dir/schemas/schema.json
skipping due to exclude match: __tests__/fixtures/json/with_yaml/first/test1.json
skipping due to exclude match: __tests__/fixtures/json/with_yaml/second/test2.json
skipping due to exclude match: __tests__/fixtures/json/project_dir/data/config/json1.json
skipping due to exclude match: __tests__/fixtures/json/project_dir/data/config/.github_mock_dir/json2.json
action.yml is valid
Expand All @@ -25,20 +30,28 @@ skipping due to exclude match: tmp/invalid.yaml
.github/workflows/lint.yml is valid
.github/workflows/package-check.yml is valid
.github/workflows/test.yml is valid
.github/workflows/update-latest-release-tag.yml is valid
skipping due to exclude match: __tests__/acceptance/staging/test1.yml
skipping due to exclude match: __tests__/acceptance/prod/deployment.yml
skipping due to exclude match: __tests__/acceptance/prod/test1.yml
skipping due to exclude match: __tests__/fixtures/schemas/schema1.yaml
skipping due to exclude match: __tests__/fixtures/schemas/schema2.yml
skipping due to exclude match: __tests__/fixtures/real_world/challenges/challenge.yml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/invalid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/valid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/yaml2.yml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/skip-bad.yaml
skipping due to exclude match: __tests__/fixtures/yaml/invalid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml/mixture/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml/mixture/yaml2.yml
skipping due to exclude match: __tests__/fixtures/yaml/multiple/invalid.yaml
skipping due to exclude match: __tests__/fixtures/yaml/multiple/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml/valid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/invalid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/mixture/yaml2.yml
skipping due to exclude match: __tests__/fixtures/yaml_as_json/valid/yaml1.yaml
skipping due to exclude match: __tests__/fixtures/json/with_yaml/first/test1.yml
skipping due to exclude match: __tests__/fixtures/json/with_yaml/second/test2.yml
skipping due to exclude match: __tests__/fixtures/yaml/project_dir/schemas/schema.yml
skipping due to exclude match: __tests__/fixtures/yaml/project_dir/data/.github_mock_dir/config.yml
skipping due to exclude match: __tests__/fixtures/yaml/project_dir/data/config/config.yml
skipping due to exclude match: __tests__/fixtures/yaml/project_dir/data/.github_mock_dir/config.yml
✅ all 5 detected JSON files are valid
✅ all 7 detected YAML files are valid
✅ all 8 detected YAML files are valid
Loading

0 comments on commit 53fae7e

Please sign in to comment.