Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahidkay committed Oct 9, 2024
1 parent bdcfa04 commit c00a491
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cf-logs-fetcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@ on:
issue_comment:
types: [created, edited]
jobs:
fetch_comment_log:
if: ${{ (github.event.issue.pull_request) && (github.event.comment.user.login == 'cloudflare-pages[bot]' ) }}
runs-on: [ubuntu-latest]
debug_info:
runs-on: ubuntu-latest
steps:
- name: Debug Information
run: |
echo "Debugging information:"
echo "Is Pull Request: ${{ github.event.issue.pull_request != null }}"
echo "Comment Author: ${{ github.event.comment.user.login }}"
echo "Condition Met: ${{ (github.event.issue.pull_request != null) && (github.event.comment.user.login == 'cloudflare-pages[bot]') }}"
echo "Condition for fetch_comment_log: ${{ (github.event.issue.pull_request != null) && (github.event.comment.user.login == 'cloudflare-pages[bot]') }}"
fetch_comment_log:
needs: debug_info
if: ${{ (github.event.issue.pull_request) && (github.event.comment.user.login == 'cloudflare-pages[bot]' ) }}
runs-on: ubuntu-latest
steps:
- name: Fetch & Print The Deployment Logs
uses: agoric-labs/cf-logs-fetcher@v2
with:
Expand Down

0 comments on commit c00a491

Please sign in to comment.