mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 08:05:48 +00:00
f6475cca17
* Adjust workflow paths to exclude all markdown files * editorconfig: Add default charset and adjust indention for a few file types * Reformat README.md and add a link to our documentation * Add generic Mako workflow and remove old Mako steps * editorconfig: Move charset change to a different PR * Update compatibility stats Co-authored-by: Ac_K <Acoustik666@gmail.com> --------- Co-authored-by: Ac_K <Acoustik666@gmail.com>
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
name: Mako
|
|
on:
|
|
discussion:
|
|
types: [created, edited, answered, unanswered, category_changed]
|
|
discussion_comment:
|
|
types: [created, edited]
|
|
gollum:
|
|
issue_comment:
|
|
types: [created, edited]
|
|
issues:
|
|
types: [opened, edited, reopened, pinned, milestoned, demilestoned, assigned, unassigned, labeled, unlabeled]
|
|
pull_request_review:
|
|
types: [submitted, dismissed]
|
|
pull_request_review_comment:
|
|
types: [created, edited]
|
|
pull_request_target:
|
|
types: [opened, edited, reopened, synchronize, ready_for_review, assigned, unassigned]
|
|
|
|
jobs:
|
|
tasks:
|
|
name: Run Ryujinx tasks
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
discussions: write
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
if: github.event_name == 'pull_request_target'
|
|
with:
|
|
# Ensure we pin the source origin as pull_request_target run under forks.
|
|
fetch-depth: 0
|
|
repository: Ryujinx/Ryujinx
|
|
ref: master
|
|
|
|
- name: Run Mako command
|
|
uses: Ryujinx/Ryujinx-Mako@master
|
|
with:
|
|
command: exec-ryujinx-tasks
|
|
args: --event-name "${{ github.event_name }}" --event-path "${{ github.event_path }}" -w "${{ github.workspace }}" "${{ github.repository }}" "${{ github.run_id }}"
|
|
app_id: ${{ secrets.MAKO_APP_ID }}
|
|
private_key: ${{ secrets.MAKO_PRIVATE_KEY }}
|
|
installation_id: ${{ secrets.MAKO_INSTALLATION_ID }}
|