mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
add: ready automation
This commit is contained in:
parent
a60ab96de4
commit
09bcaa469c
1 changed files with 31 additions and 0 deletions
31
.github/workflows/app-request-ready.yaml
vendored
Normal file
31
.github/workflows/app-request-ready.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
name: comment-on-ready-to-add
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [labeled]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write # allow posting comments
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
add-comment:
|
||||||
|
if: github.event.label.name == 'Ready to Add'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v7
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
const body = `
|
||||||
|
Looks like this is ready to go!
|
||||||
|
|
||||||
|
Feel free to make a pull request using the [App Addition Template](https://github.com/ThatGuySam/doesitarm/blob/master/.github/PULL_REQUEST_TEMPLATE/app_addition_template.md) otherwise, We'll add it when time permits.
|
||||||
|
|
||||||
|
You can also use the [Scan Tool](https://doesitarm.com/apple-silicon-app-test) and I'll try to add it automatically.
|
||||||
|
|
||||||
|
-- Sincerely, 🦾 Does It ARM Bot
|
||||||
|
`;
|
||||||
|
github.rest.issues.createComment({
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
issue_number: context.issue.number,
|
||||||
|
body
|
||||||
|
})
|
||||||
Loading…
Add table
Add a link
Reference in a new issue