Skip to content

Commit eb09097

Browse files
committed
usunięcie debugu
1 parent 94da4de commit eb09097

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

.github/scripts/git_managers.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,7 @@ def create_or_update_remote_branch_with_file_commit(
9393
branch, file_path, file_contents, commit_message
9494
)
9595
branch.edit(commit.sha)
96-
# self.dispatch_workflow(commit)
9796
return branch
98-
#
99-
# def dispatch_workflow(self, commit: GitCommit):
100-
# github_commit = self.repo.get_commit(commit.sha)
101-
# main_branch = self.repo.get_branch("main")
102-
# workflow = self.repo.get_workflow("organization-update.yaml")
103-
# workflow.create_dispatch(ref=main_branch)
10497

10598
def create_or_update_pr_with_file(
10699
self,

.github/workflows/organization-update.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
pull_request:
88
paths:
99
- 'organizations/*.yaml'
10-
workflow_dispatch:
1110

1211
permissions:
1312
contents: read
@@ -19,19 +18,6 @@ jobs:
1918
runs-on: ubuntu-latest
2019
steps:
2120
- uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0 # Fetch full history to ensure all commits are accessible
24-
- name: Show changed files
25-
run: |
26-
if [ "${{ github.event.before }}" == "0000000000000000000000000000000000000000" ]; then
27-
echo "Initial commit or new branch. Listing all files:"
28-
git ls-files
29-
else
30-
echo "Changed files since previous commit:"
31-
git diff --name-only ${{ github.event.before }} ${{ github.sha }}
32-
fi
33-
- name: Print GitHub Context
34-
run: echo "${{ toJson(github) }}"
3521
- uses: ibiqlik/action-yamllint@v3
3622
with:
3723
file_or_dir: organizations/*.yaml

0 commit comments

Comments
 (0)