Skip to content

Commit

Permalink
Ignore ci.yaml and buildifier.yaml from rules-template (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
ted-xie authored Jul 19, 2024
1 parent d9a3426 commit e57cdcc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 50 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/buildifier.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/ci.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions update_github_workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ function update_github_workflows() {
# 'rules_mylang' for rules_android_ndk and write out the resulting file back to
# rules_android_ndk/.github/workflows.
for ci_file in $(ls); do
if [[ "$ci_file" == "ci.yaml" || "$ci_file" == "buildifier.yaml" ]]; then
# Don't need ci.yaml or buildifier.yaml for rules_android_ndk, since we've already set up BazelCI.
continue
fi
sed "s/rules_mylang/rules_android_ndk/g" "$ci_file" > "$rules_android_ndk_workflows/$ci_file"
done
rm -rf $rules_template_dir
Expand Down

0 comments on commit e57cdcc

Please sign in to comment.