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 fcbccb0 commit fe4aa82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/META-REPO-PATTERNS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
test-
meta-
opencepk-
9 changes: 1 addition & 8 deletions .github/workflows/call-github-update-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,15 @@ 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: opencepk/opencepk-module-ghactions-common/read-and-stringify-json-action@fix/update-gitmodules-action
uses: your-username/read-and-stringify-json-action@v1
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 fe4aa82

Please sign in to comment.