File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
reusable_workflows/repo_policies Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1515 # Dont run this workflow on merge queue
1616 if : ${{ github.event_name != 'merge_group' }}
1717 outputs :
18- is_member : ${{ steps.check-is-bot.outputs.is_bot}}
18+ is_bot : ${{ steps.check-is-bot.outputs.is_bot}}
1919 steps :
2020 - name : Checkout
2121 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1313 name : Check Bot Policies
1414 runs-on : ubuntu-latest
1515 needs : check-is-bot
16- if : ${{ needs.check-is-bot.outputs.is_bot == 'true' && needs.check-is-bot.result == 'success ' }}
16+ if : ${{ needs.check-is-bot.outputs.is_bot != 'false ' }}
1717 steps :
1818 # First check out code from public-workflows
1919 - name : Checkout
Original file line number Diff line number Diff line change @@ -8,3 +8,6 @@ def main() -> None:
88
99 is_bot = is_approved_bot (user )
1010 os .system (f"""echo 'is_bot={ is_bot } ' >> $GITHUB_OUTPUT""" )
11+
12+ if __name__ == "__main__" :
13+ main ()
You can’t perform that action at this time.
0 commit comments