We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
main
1 parent b6b01a3 commit 8a3ff96Copy full SHA for 8a3ff96
.github/workflows/leetcode_directory_writer.yml
@@ -5,6 +5,8 @@ on:
5
push:
6
paths:
7
- "leetcode/src/**.c"
8
+ branches:
9
+ - main
10
jobs:
11
build:
12
if: github.repository == 'TheAlgorithms/C' # We only need this to run in our repository.
@@ -37,6 +39,7 @@ jobs:
37
39
shell: bash
38
40
run: |
41
if [[ `git status --porcelain` ]]; then
- gh pr create --base ${GITHUB_REF##*/} --head leetcode-directory-${{ github.sha }} --title 'docs: updating `leetcode/DIRECTORY.md`' --body 'Updated LeetCode directory (see the diff. for changes).'
42
+ gh pr create --base ${GITHUB_REF##*/} --head leetcode-directory-${{ github.sha }} --title 'docs: updating `leetcode/DIRECTORY.md`' --body 'Updated LeetCode directory (see the diff. for changes).'
43
+ fi
44
env:
45
GH_TOKEN: ${{ github.token }}
0 commit comments