We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 649096e commit c28c2a0Copy full SHA for c28c2a0
1 file changed
.github/workflows/auto-writer.yml
@@ -11,6 +11,8 @@ jobs:
11
steps:
12
- name: Checkout repository
13
uses: actions/checkout@v4
14
+ with:
15
+ token: ${{ secrets.PAT }}
16
- name: Install Python libraries
17
run: |
18
pip install openai bs4 requests pyyaml
@@ -20,14 +22,9 @@ jobs:
20
22
21
23
python3 writer.py
24
- name: Commit and push changes
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
26
git config user.name "github-actions[bot]"
27
git config user.email "github-actions[bot]@users.noreply.github.com"
28
git add .
29
git commit -m "feat(auto): created new article" || echo "no changes to commit"
30
git push origin HEAD:main
31
- compile:
32
- needs: write_article
33
- uses: ./.github/workflows/publ.yml
0 commit comments