mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2026-07-08 05:11:57 +00:00
change success to completed in comment pr workflow
This commit is contained in:
parent
29244bcf1b
commit
d2408b1bce
2
.github/workflows/comment-pr.yml
vendored
2
.github/workflows/comment-pr.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
${{ github.event.workflow_run.event == 'pull_request' &&
|
${{ github.event.workflow_run.event == 'pull_request' &&
|
||||||
github.event.workflow_run.conclusion == 'success' }}
|
github.event.workflow_run.conclusion == 'completed' }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Download artifact'
|
- name: 'Download artifact'
|
||||||
uses: actions/github-script@v8
|
uses: actions/github-script@v8
|
||||||
|
|||||||
5
.github/workflows/fpb-lint.yml
vendored
5
.github/workflows/fpb-lint.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
- run: npm install -g free-programming-books-lint
|
- run: npm install -g free-programming-books-lint
|
||||||
|
|
||||||
- name: Pull Request
|
- name: Run linter
|
||||||
run: |
|
run: |
|
||||||
fpb-lint books casts courses more &> output.log
|
fpb-lint books casts courses more &> output.log
|
||||||
|
|
||||||
@ -27,7 +27,8 @@ jobs:
|
|||||||
echo ${{ github.event.pull_request.html_url }} > ./pr/PRurl
|
echo ${{ github.event.pull_request.html_url }} > ./pr/PRurl
|
||||||
cat output.log | sed -E 's:/home/runner/work/free-programming-books/|⚠.+::' | uniq > ./pr/error.log
|
cat output.log | sed -E 's:/home/runner/work/free-programming-books/|⚠.+::' | uniq > ./pr/error.log
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v7
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: pr
|
name: pr
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user