This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
Tag warning #459
Workflow file for this run
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
name: Automate QA | |
on: | |
pull_request_target: | |
types: | |
- review_requested | |
branches: [development, main] | |
jobs: | |
add-to-project: | |
env: | |
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }} | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Add PR to QA project | |
if: contains(github.event.pull_request.requested_reviewers.*.login, 'Draeieg') | |
uses: actions/[email protected] | |
with: | |
project-url: https://github.com/orgs/ubiquity/projects/23 | |
github-token: ${{ env.ADD_TO_PROJECT_PAT }} | |
- name: Create QA Issue | |
if: contains(github.event.pull_request.requested_reviewers.*.login, 'Draeieg') | |
uses: dacbd/create-issue-action@v1 | |
with: | |
token: ${{ env.ADD_TO_PROJECT_PAT }} | |
owner: ubiquibot | |
repo: staging | |
title: QA for ${{ github.event.pull_request.title }} | |
body: | | |
Testing pr <a href="${{ github.event.pull_request.html_url }}">${{ github.event.pull_request.number }}</a> |