Skip to content

Commit

Permalink
fix: shove
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Jul 11, 2024
1 parent 34c9f6c commit 2bdc21d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/get-json-property/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ runs:
if: ${{ steps.jq.outputs.prop == 'null' }}
uses: actions/github-script@v7
with:
script: core.setFailed("Property '${{ inputs.prop_path }}' not found in ${{ inputs.path }}")
script: core.setFailed("JSON property not found in provided path (check action inputs)")
4 changes: 3 additions & 1 deletion .github/actions/parse-semver/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ runs:
- name: Parse Semver
id: parse
shell: bash
env:
INPUT_INPUT_STRING: ${{ inputs.input_string }}
run: |
FULL_VERSION="${{ inputs.input_string }}"
FULL_VERSION="$INPUT_INPUT_STRING"
VERSION="${FULL_VERSION#v}"
# Filter out non-semver characters
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ jobs:
cache: npm
- run: npm install -g @salesforce/plugin-release-management --omit=dev
- name: run automerge command
if: ${{ !inputs.skipCI }}
env:
GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN}}
run: sf-release dependabot:automerge --merge-method ${{ inputs.mergeMethod}} --max-version-bump ${{ inputs.maxVersionBump}} --owner $GITHUB_REPOSITORY_OWNER --repo $(basename $GITHUB_REPOSITORY)
- name: run automerge command
if: ${{ inputs.skipCI }}
env:
GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN}}
run: sf-release dependabot:automerge --merge-method ${{ inputs.mergeMethod}} --max-version-bump ${{ inputs.maxVersionBump}} --owner $GITHUB_REPOSITORY_OWNER --repo $(basename $GITHUB_REPOSITORY) --skip-ci
INPUTS_MERGE_METHOD: ${{ inputs.mergeMethod}}
INPUTS_MAX_VERSION_BUMP: ${{ inputs.maxVersionBump}}
run: sf-release dependabot:automerge --merge-method "$INPUTS_MERGE_METHOD" --max-version-bump "$INPUTS_MAX_VERSION_BUMP" --owner $GITHUB_REPOSITORY_OWNER --repo $(basename $GITHUB_REPOSITORY) ${{ inputs.skipCI && '--skip-ci' || '' }}

0 comments on commit 2bdc21d

Please sign in to comment.