Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
Removed submission checker. This action is hard to maintain. Once a module is approved the bot will only comment it the title includes `[Module]` and the `approved` label. Some other fine tuned adjustments
  • Loading branch information
DerGoogler authored Jul 29, 2024
1 parent 3fdca32 commit 6fbf549
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 48 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/submission-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
your module submission was labeled with a deadline of **two weeks**.
If you don't respond within that period, your module will be rejected.
Best regards,
The MMAR Team
*Best regards,
The MMAR Team*
spam:
if: ${{ contains(github.event.label.name, 'spam') }}
Expand All @@ -47,8 +47,8 @@ jobs:
your submission was closed due to being considered spam.
Best regards,
The MMAR Team
*Best regards,
The MMAR Team*
- name: Close issue
uses: actions-cool/issues-helper@v3
Expand All @@ -59,7 +59,7 @@ jobs:
issue-number: ${{ github.event.issue.number }}

approved:
if: ${{ contains(github.event.label.name, 'approved') }}
if: ${{ startsWith(github.event.issue.title, '[Module]') && contains(github.event.label.name, 'approved') }}
runs-on: ubuntu-latest
steps:
- name: Add labels
Expand Down Expand Up @@ -93,8 +93,8 @@ jobs:
Make sure to change your local repository's push URLs or configure 2 parallel push URLs.
Best regards,
The MMAR Team
*Best regards,
The MMAR Team*
- name: Close issue
uses: actions-cool/issues-helper@v3
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/submission-opned.yml

This file was deleted.

0 comments on commit 6fbf549

Please # to comment.