Update code freeze bot to check target PR branch correctly for issue_… #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ******************************************************************************** | |
# Copyright (c) 2021 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: "Comment Bot" | |
on: | |
pull_request_target: | |
types: [ opened ] | |
jobs: | |
comment: | |
permissions: | |
issues: write | |
pull-requests: write | |
name: Add Comment | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create comment | |
uses: JJ/pr-greeting-action@01953a8c191056b059c8dbc667d833aa082fd865 # releases/v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
greeting: | | |
**Thank you for creating a pull request!** | |
If you have not done so already, please familiarise yourself with our [Contributing Guidelines](https://github.com/adoptium/temurin-build/blob/master/CONTRIBUTING.md) and [FAQ](https://github.com/adoptium/temurin-build/blob/master/FAQ.md), even if you have contributed to the Adoptium project before. GitHub actions will now run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our [testing documentation](https://github.com/adoptium/temurin-build/blob/master/Testing.md). |