discourse/.github/workflows/device-screenshots.yml
Martin Brennan 0af0087c77
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
2025-02-27 10:07:29 +10:00

15 lines
316 B
YAML
Vendored

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) }}"