subst
convert-to-yml / format-branch (push) Successful in 21s Details

This commit is contained in:
giles 2023-10-21 20:08:31 +01:00
parent 2d3e6b63be
commit 1b84ed759d
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,7 @@ on:
push: push:
jobs: jobs:
format-branch: format-branch:
if: ${{ ! startsWith(github.ref_name, 'format-') }} if: ${{ startsWith(github.ref_name, 'format-') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# https://github.com/RouxAntoine/checkout/tree/v3.5.4 # https://github.com/RouxAntoine/checkout/tree/v3.5.4
@ -16,6 +16,11 @@ jobs:
with: with:
action: yml action: yml
path: '.' path: '.'
- name: get production branch name
run: |
firstString=${{ github.ref_name }}
secondString="develop-"
echo "${firstString/format-/"$secondString"}"
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts