Skip to content

Handle "workflow_run" event properly in selective-check#24656

Merged
mik-laj merged 1 commit intoapache:mainfrom
potiuk:add-workflow-run-as-possible-event-to-handle
Jun 26, 2022
Merged

Handle "workflow_run" event properly in selective-check#24656
mik-laj merged 1 commit intoapache:mainfrom
potiuk:add-workflow-run-as-possible-event-to-handle

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Jun 25, 2022

Unfortunately testing workflow_run is a bit difficult because
the changes are only effective after merging them.

Fixing (hopefully) yet another mistake in the workflow run where
commit hash was passed as event name (?)

We are going to handle "workflow_run" as valid event type so this
should now work without passing any event.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragement file, named {pr_number}.significant.rst, in newsfragments.

@potiuk
Copy link
Copy Markdown
Member Author

potiuk commented Jun 25, 2022

Needs #24659 merged to succeed

Unfortunately testing workflow_run is a bit difficult because
the changes are only effective after merging them.

Fixing (hopefully) yet another mistake in the workflow run where
commit hash was passed as event name (?)

We are going to handle "workflow_run" as valid event type so this
should now work without passing any event.
@potiuk potiuk force-pushed the add-workflow-run-as-possible-event-to-handle branch from 394386c to aabed94 Compare June 25, 2022 21:37
@mik-laj mik-laj merged commit e83e7c8 into apache:main Jun 26, 2022
potiuk added a commit to potiuk/airflow that referenced this pull request Jun 29, 2022
Unfortunately testing workflow_run is a bit difficult because
the changes are only effective after merging them.

Fixing (hopefully) yet another mistake in the workflow run where
commit hash was passed as event name (?)

We are going to handle "workflow_run" as valid event type so this
should now work without passing any event.

(cherry picked from commit e83e7c8)
@ephraimbuddy ephraimbuddy added this to the Airflow 2.3.3 milestone Jun 30, 2022
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Jul 1, 2022
@potiuk potiuk deleted the add-workflow-run-as-possible-event-to-handle branch July 29, 2022 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants