Skip to content

Commit ec12124

Browse files
committed
fixed workflow
1 parent 2ff25db commit ec12124

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

.github/workflows/notebooks.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ jobs:
2424
with:
2525
python-version: 3.12
2626
- name: Format
27-
working-directory: examples
2827
run: rye run clean
2928
- name: Commit changes
3029
run: |
3130
git config --local user.email "github-actions[bot]@users.noreply.github.com"
3231
git config --local user.name "github-actions[bot]"
33-
git add examples/.
32+
git add .
3433
git commit -m ":art: Cleaned" || exit 0
3534
- name: Push changes
3635
uses: ad-m/github-push-action@master
@@ -50,7 +49,7 @@ jobs:
5049
with:
5150
filters: |
5251
addedOrModified:
53-
- added|deleted: 'examples/**/*.ipynb'
52+
- added|deleted: './**/*.ipynb'
5453
# Create readme if the above job shows true using rye run create-readme
5554
create:
5655
needs: changes
@@ -65,13 +64,12 @@ jobs:
6564
with:
6665
python-version: 3.12
6766
- name: Create readme
68-
working-directory: examples
6967
run: rye run create-readme
7068
- name: Commit changes
7169
run: |
7270
git config --local user.email "github-actions[bot]@users.noreply.github.com"
7371
git config --local user.name "github-actions[bot]"
74-
git add examples/.
72+
git add .
7573
git commit -m ":memo: README updated" || exit 0
7674
- name: Push changes
7775
uses: ad-m/github-push-action@master

.github/workflows/rdme-custompages.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ jobs:
1818
with:
1919
python-version: 3.12
2020
- name: Create readme
21-
working-directory: examples
2221
run: rye run create-doc-readme
2322
- name: Run `custompages` command
2423
uses: readmeio/rdme@v8
2524
with:
26-
rdme: custompages examples/tutorials.html --key=${{ secrets.README_API_KEY }}
25+
rdme: custompages ./tutorials.html --key=${{ secrets.README_API_KEY }}

.github/workflows/secrets_scan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
TruffleHog:
88
runs-on: ubuntu-latest
99
steps:
10-
- name: Checkout code
11-
uses: actions/checkout@v4
12-
with:
13-
fetch-depth: 0
14-
- name: Secret Scanning
15-
uses: trufflesecurity/trufflehog@main
16-
with:
17-
extra_args: --only-verified
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Secret Scanning
15+
uses: trufflesecurity/trufflehog@main
16+
with:
17+
extra_args: --only-verified

0 commit comments

Comments
 (0)