Skip to content

Update code freeze bot to check target PR branch correctly for issue_… #32

Update code freeze bot to check target PR branch correctly for issue_…

Update code freeze bot to check target PR branch correctly for issue_… #32

# ********************************************************************************
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made
# available under the terms of the Apache Software License 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: Apache-2.0
# ********************************************************************************
---
name: Code Freeze New freeze Bot
# Controls when the workflow will run
on:
pull_request_target:
branches:
- '*'
issue_comment:
types: [created]
permissions:
contents: write
pull-requests: write
jobs:
codefreeze_regex:
uses: andrew-m-leonard/openjdk-build/.github/workflows/code-freeze-regex-branch.yml@master

Check failure on line 39 in .github/workflows/code-freeze-new.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-freeze-new.yml

Invalid workflow file

error parsing called workflow ".github/workflows/code-freeze-new.yml" -> "andrew-m-leonard/openjdk-build/.github/workflows/code-freeze-regex-branch.yml@master" (source branch with sha:079c64b3e41ceeacc2c7ce5d092613ac4c434456) : reusable workflows should be referenced at the top-level `jobs.*.uses' key, not within steps
secrets: inherit
with:
branch-regex: "^maa.*er$"