Skip to content

Commit 7149d6f

Browse files
authored
Update and rename python-app.yml to pr_logger.yml
1 parent bc5b093 commit 7149d6f

File tree

2 files changed

+25
-43
lines changed

2 files changed

+25
-43
lines changed

.github/workflows/pr_logger.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR Event Logger
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, ready_for_review, review_requested]
6+
issue_comment:
7+
types: [created, edited]
8+
9+
jobs:
10+
log-event:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.9'
20+
21+
- name: Run event logger
22+
env:
23+
GITHUB_EVENT_NAME: ${{ github.event_name }}
24+
GITHUB_EVENT_PATH: ${{ github.event_path }}
25+
run: python .github/scripts/log_event.py

.github/workflows/python-app.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)