mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 21:09:11 +08:00
DEV: Adds empty device screenshot workflow file (#31521)
This is for continued experimentation in https://github.com/discourse/discourse/pull/31410, GitHub does not react to the issue_comment event unless the workflow file is in main already, see https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#issue_comment This workflow is a noop, it will be actually written/tested in the linked PR
This commit is contained in:
parent
71c6f70e9e
commit
0af0087c77
15
.github/workflows/device-screenshots.yml
vendored
Normal file
15
.github/workflows/device-screenshots.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: device-screenshots
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
sanitize:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.user.login == 'thenonexistentguy'
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Debug event data
|
||||
run: echo "${{ toJson(github.event) }}"
|
Loading…
x
Reference in New Issue
Block a user