Skip to content

Commit

Permalink
Trigger submission workflow on issue edit and re-opening (#453)
Browse files Browse the repository at this point in the history
* Trigger submission check on issue edit and re-opening

* Update .github/workflows/ecosystem-submission.yml

* Remove extra conditions
  • Loading branch information
frankharkins authored Jul 28, 2023
1 parent 0a3fdab commit 0bd29a8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/ecosystem-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,14 @@ name: Ecosystem | Submission check

on:
issues:
types: [opened]
# issue_comment:
# types: [created]
types: [opened, edited, reopened]

jobs:
submission_workflow:
concurrency:
group: ci-${{ github.event.issue.title }}
cancel-in-progress: true
if: |
(startsWith(github.event.issue.title, '[Submission]:') && github.event.action == 'opened') ||
(github.event.comment.body == '!redo' && startsWith(github.event.issue.title, '[Submission]:') &&
(
github.event.sender.login == github.event.issue.user.login ||
github.event.comment.author_association == 'OWNER' ||
github.event.comment.author_association == 'CONTRIBUTOR'
))
if: startsWith(github.event.issue.title, '[Submission]:')
runs-on: ubuntu-latest
env:
tox_env: "py39"
Expand Down

0 comments on commit 0bd29a8

Please sign in to comment.