@varunsridharan Once the file is synced and updated in the target repository and when the changes are made in the script and updated and when the changes are pushed to the target repository it's not getting updated.
For example:
abc.sh in beginning
echo "hi"
abc.sh in target repo
echo "hi"
abc.sh after updating
echo "hello"
abc.sh in target repo after updating
echo "hi"
workflow file used
on:
push:
branches:
- "main"
env:
DRY_RUN: false
REPOSITORIES: |
QE/yarn-qe@github-actions-poc
WORKFLOW_FILES: |
yarn-qe/approval.yaml=.github/workflows/pr-approval.yaml
yarn-qe/qe-check.yaml=.github/workflows/qe-check.yaml
yarn-qe/qe-ci-gate-qe-gate.yaml=.github/workflows/qe-ci-gate-qe-gate.yaml
.github/qaas-jobs/static-analysis.sh=.github/static-analysis.sh
.github/qaas-jobs/commit_message_check.sh=.github/commit_message_check.sh
.github/qaas-jobs/docker-build-system_test.sh=.github/docker-build-system_test.sh
.github/qaas-jobs/docker-build-temp-image-system_test.sh=.github/docker-build-temp-image-system_test.sh
jobs:
Github_Workflow_Sync:
runs-on: [re-centos7]
steps:
- name: Fetching Local Repository
uses: actions/checkout@v2
- name: Running Workflow Sync
uses: Kitchen/RE-thirdparty-actions/actions/workflow-sync@main
with:
DRY_RUN: ${{ env.DRY_RUN }}
REPOSITORIES: ${{ env.REPOSITORIES }}
WORKFLOW_FILES: ${{ env.WORKFLOW_FILES }}
GITHUB_TOKEN: ${{ secrets.RE_JENKINS_GH_USER_TOKEN }}
PULL_REQUEST: true
GIT_URL: ***
COMMIT_MESSAGE: "Sync workflow files | Triggered by Kitchen/RE-github-workflows"```
@varunsridharan Once the file is synced and updated in the target repository and when the changes are made in the script and updated and when the changes are pushed to the target repository it's not getting updated.
For example:
abc.sh in beginning
echo "hi"
abc.sh in target repo
echo "hi"
abc.sh after updating
echo "hello"
abc.sh in target repo after updating
echo "hi"
workflow file used