Skip to content

Commit

Permalink
debug emojiStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Sep 5, 2023
1 parent 8b3049b commit 2ff61cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
- release
- ci-run/pr-*
pull_request:
# pull_request:

defaults:
run:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ concurrency:

on:
pull_request:
branches:
- release
# TODO: uncomment
# branches:
# - release
types:
# Default types that triggers a workflow:
# - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request
Expand Down Expand Up @@ -45,6 +46,9 @@ jobs:
const prState = pullRequest.state
const isMerged = pullRequest.merged
console.log(prState)
console.log(isMerged)
let emoji = ":new:"
if (prState == "synchronize") {
Expand All @@ -58,6 +62,9 @@ jobs:
return emoji
}
console.log(context.eventName)
console.log(context.payload.action)
const pullRequest = context.payload.pull_request
const ownerRepoPrParams = {
Expand Down

0 comments on commit 2ff61cd

Please sign in to comment.