diff --git a/.github/workflows/code-freeze-new.yml b/.github/workflows/code-freeze-new.yml index b2bf04d27..12c6c25e0 100644 --- a/.github/workflows/code-freeze-new.yml +++ b/.github/workflows/code-freeze-new.yml @@ -32,9 +32,17 @@ jobs: with: branch-regex: "^ma.*er$" - codefreeze_if_branch_match: + codefreeze_if_branch_match_print: + runs-on: ubuntu-latest needs: codefreeze_branch_check - uses: adoptium/.github/.github/workflows/code-freeze.yml@main - if: (github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.issue.pull_request)) && needs.codefreeze_branch_check.outputs.regex-matches == 'true' - secrets: inherit + run: | + echo "MATCH ? $MATCHES" + env: + MATCHES: ${{ needs.codefreeze_branch_check.outputs.regex-matches }} + + #codefreeze_if_branch_match: + # needs: codefreeze_branch_check + # uses: adoptium/.github/.github/workflows/code-freeze.yml@main + # if: (github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.issue.pull_request)) && needs.codefreeze_branch_check.outputs.regex-matches == 'true' + # secrets: inherit