Skip to content

Commit

Permalink
chore/add-git-modules add git modules folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hminaee-tc committed Aug 24, 2024
1 parent fe4aa82 commit 8f677dc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/call-github-update-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ jobs:
application_private_key: ${{ secrets.GH_APP_REPO_ACTION_RW_PRIVATE_KEY }}
revoke_token: true

# - name: Read patterns from file
# id: read_patterns
# run: |
# patterns=$(grep -v '^$' .github/META-REPO-PATTERNS | tr '\n' ',' | sed 's/,$//')
# echo "patterns=$patterns" >> $GITHUB_ENV

- name: Read patterns from file
id: read_patterns
uses: your-username/read-and-stringify-json-action@v1
uses: opencepk/opencepk-module-ghactions-common/read-and-stringify-json-action@fix/update-gitmodules-action
with:
file: '.github/META-REPO-PATTERNS'
file_type: 'file'
separator: '\n'
output_format: ','


- name: Log patterns
run: |
echo "Patterns: ${{ steps.read_patterns.outputs.properties }}"
Expand Down

0 comments on commit 8f677dc

Please sign in to comment.