Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Update ubiquibot-config.yml #176

Update ubiquibot-config.yml

Update ubiquibot-config.yml #176

Workflow file for this run

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>