Skip to content

Conversation

@Arlodotexe
Copy link
Member

Needed for #500

@Arlodotexe Arlodotexe enabled auto-merge (squash) September 12, 2024 23:41
on:
# Triggers the workflow on push or pull request events but only for the main or release branches
push:
branches: [ main, 'rel/*' ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
branches: [ main, 'rel/*' ]
branches: [ main, 'dev/*', 'rel/*' ]

I think we need it here too, but not 100% sure. that would also let us push things in 'development' to our feeds and such, but not sure if that'll have other ramifications to which feeds and that is, but probably fine for now?

Copy link
Member Author

@Arlodotexe Arlodotexe Sep 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on: push

This section is described in the filters docs here:

the push event has a branches filter that causes your workflow to run only when a push to a branch that matches the branches filter occurs, instead of when any push occurs.

on:
 push:
   branches: 

on: pull_request

This is described by workflow syntax docs here:

When using the pull_request and pull_request_target events, you can configure a workflow to run only for pull requests that target specific branches.

on:
pull_request:
  branches: 

It seems like we only need to specify the branch in pull_request, but we won't know for sure until we've merged this PR and rechecked in #500.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No dice in #500, let's try doing both then.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #505

@Arlodotexe Arlodotexe merged commit 6e55687 into main Sep 13, 2024
23 checks passed
@Arlodotexe Arlodotexe deleted the fix/ci/checks/run-when-merged-into-dev branch September 13, 2024 02:11
@Arlodotexe Arlodotexe restored the fix/ci/checks/run-when-merged-into-dev branch September 13, 2024 02:12
@Arlodotexe Arlodotexe deleted the fix/ci/checks/run-when-merged-into-dev branch September 13, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants