Skip to content

Commit

Permalink
chore/add-git-modules cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Aug 20, 2024
1 parent b996118 commit da806d9
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/github-update-gitmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,25 @@ jobs:
with:
node-version: '20'

- name: Run GitHub Update Gitmodules Action
- name: Determine repository organization
id: repo-info
run: echo "org=${{ github.repository_owner }}" >> $GITHUB_OUTPUT

# - name: Run GitHub Update Gitmodules Action
# uses: opencepk/opencepk-module-ghactions-common/github-update-gitmodules@fix/update-gitmodules-action
# with:
# token: ${{ secrets.GITHUB_TOKEN }}

- name: Run GitHub Update Gitmodules Action for opencepk
if: steps.repo-info.outputs.org == 'opencepk'
uses: opencepk/opencepk-module-ghactions-common/github-update-gitmodules@fix/update-gitmodules-action
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run GitHub Update Gitmodules Action for tucows
if: steps.repo-info.outputs.org != 'opencepk'
# uses: tucowsinc/mirror-opencepk-module-ghactions-common/github-update-gitmodules@main
tucowsinc/mirror-opencepk-module-ghactions-common/github-flow-update-release-notes@main
with:

Check failure on line 39 in .github/workflows/github-update-gitmodules.yml

View workflow job for this annotation

GitHub Actions / pre-commit

39:9 syntax error: could not find expected ':' (syntax)

Check failure on line 39 in .github/workflows/github-update-gitmodules.yml

View workflow job for this annotation

GitHub Actions / pre-commit

39:9 syntax error: could not find expected ':' (syntax)

Check failure on line 39 in .github/workflows/github-update-gitmodules.yml

View workflow job for this annotation

GitHub Actions / pre-commit

39:9 syntax error: could not find expected ':' (syntax)

Check failure on line 39 in .github/workflows/github-update-gitmodules.yml

View workflow job for this annotation

GitHub Actions / pre-commit

39:9 syntax error: could not find expected ':' (syntax)
token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true

0 comments on commit da806d9

Please sign in to comment.