Skip to content

Commit

Permalink
feat: Remove CLA workflow if the template is used outside F5 orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg committed Jan 29, 2025
1 parent 68eb9d1 commit 596c5d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/scripts/rename_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ done
# This command runs only once on GitHub Actions!
rm -f .github/workflows/rename_template.yml
rm -f .github/scorecard.yml
if [[ "$GITHUB_REPOSITORY_OWNER" != "devcentral" && "$GITHUB_REPOSITORY_OWNER" != "f5" && "$GITHUB_REPOSITORY_OWNER" != "f5networks" && "$GITHUB_REPOSITORY_OWNER" != "nginx" && "$GITHUB_REPOSITORY_OWNER" != "nginxinc" ]]; then
rm -f .github/workflows/f5_cla.yml
fi
sed -i '1,/^---$/d;/^$/d' README.md
sed -i '1,/^---$/d;/^$/d' CHANGELOG.md
rm -rf .github/workflows/scripts

0 comments on commit 596c5d5

Please sign in to comment.