Skip to content

Commit 4a26c81

Browse files
committed
Debug contributors update workflow
1 parent 94fd1f7 commit 4a26c81

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
name: CI
44

55
# Controls when the workflow will run
6-
on:
7-
# Triggers the workflow on push or pull request events but only for the main branch
8-
push:
9-
branches: [master]
10-
paths-ignore: # run if anything different from these is modified
11-
- "docs/**"
12-
- "mkdocs.yml"
6+
# on:
7+
# # Triggers the workflow on push or pull request events but only for the main branch
8+
# push:
9+
# branches: [master]
10+
# paths-ignore: # run if anything different from these is modified
11+
# - "docs/**"
12+
# - "mkdocs.yml"
1313

14-
pull_request:
15-
branches: [master]
16-
paths-ignore:
17-
- "docs/**"
18-
- "mkdocs.yml"
14+
# pull_request:
15+
# branches: [master]
16+
# paths-ignore:
17+
# - "docs/**"
18+
# - "mkdocs.yml"
1919

20-
# Allows you to run this workflow manually from the Actions tab
21-
workflow_dispatch:
20+
# # Allows you to run this workflow manually from the Actions tab
21+
# workflow_dispatch:
2222

2323
# When a Push is made on an existing branch/PR
2424
# it cancels any pre running job and

.github/workflows/update_contributors.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
schedule:
44
- cron: "0 0 1 * *"
55
workflow_dispatch:
6+
pull_request:
7+
68
jobs:
79
main:
810
runs-on: ubuntu-latest
@@ -13,16 +15,13 @@ jobs:
1315
env:
1416
CONTRIB_REPOSITORY: 'dynaconf/dynaconf'
1517
CONTRIB_OUTPUT_FILE: 'CONTRIBUTORS.md'
16-
- name: Create a PR
17-
uses: peter-evans/create-pull-request@v3
18-
with:
19-
commit-message: Update Contributors
20-
title: "[automated] Update Contributors File"
21-
token: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Filter no-ops
19+
run: |
20+
git diff
21+
# - name: Create a PR
22+
# uses: peter-evans/create-pull-request@v3
23+
# with:
24+
# commit-message: Update Contributors
25+
# title: "[automated] Update Contributors File"
26+
# token: ${{ secrets.GITHUB_TOKEN }}
2227

23-
# - name: Update resources
24-
# uses: test-room-7/action-update-file@v1
25-
# with:
26-
# file-path: 'CONTRIBUTORS.md'
27-
# commit-msg: Update Contributors
28-
# github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)