File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ jobs:
101101 - uses : actions/checkout@v4
102102 with :
103103 fetch-depth : 0
104- - name : " Check for unexpected major version "
104+ - name : " Verify the subrepos exist for new components "
105105 run : |
106106 COMPONENTS=$(git diff origin/main --name-only | grep VERSION | xargs dirname)
107107 FAIL=""
108108 for COMPONENT in ${COMPONENTS}; do {
109109 if [[ "$(cat $COMPONENT/VERSION)" == "0.1.0" ]]; then
110110 SUBREPO=$(cat $COMPONENT/composer.json | jq -r '.extra.component.target')
111111 echo "New component found: $COMPONENT"
112- if curl --head --silent --fail "https://api.github.com/repos/$SUBREPO" -H 'Authorization: Bearer ${{secrets.GITHUB_TOKEN }}' > /dev/null; then
112+ if curl --head --silent --fail "https://api.github.com/repos/$SUBREPO" -H 'Authorization: Bearer ${{secrets.SPLIT_TOKEN }}' > /dev/null; then
113113 echo " - Target Repo '$SUBREPO' exists"
114114 else
115115 echo " - Target Repo '$SUBREPO' DOES NOT EXIST"
You can’t perform that action at this time.
0 commit comments