mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2026-07-08 13:21:55 +00:00
Compare commits
3 Commits
ac223d30b1
...
d818a88a5d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d818a88a5d | ||
|
|
f026adec83 | ||
|
|
8206f6fce0 |
3
.github/workflows/comment-pr.yml
vendored
3
.github/workflows/comment-pr.yml
vendored
@ -12,8 +12,7 @@ jobs:
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
${{ github.event.workflow_run.event == 'pull_request' &&
|
||||
github.event.workflow_run.conclusion == 'success' }}
|
||||
${{ github.event.workflow_run.event == 'pull_request' }}
|
||||
steps:
|
||||
- name: 'Download artifact'
|
||||
uses: actions/github-script@v8
|
||||
|
||||
7
.github/workflows/fpb-lint.yml
vendored
7
.github/workflows/fpb-lint.yml
vendored
@ -14,11 +14,9 @@ jobs:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '16.x'
|
||||
- run: npm install -g free-programming-books-lint
|
||||
|
||||
- name: Pull Request
|
||||
- name: Run linter
|
||||
run: |
|
||||
fpb-lint books casts courses more &> output.log
|
||||
|
||||
@ -29,7 +27,8 @@ jobs:
|
||||
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
|
||||
|
||||
- uses: actions/upload-artifact@v7
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v7
|
||||
if: always()
|
||||
with:
|
||||
name: pr
|
||||
|
||||
@ -61,7 +61,7 @@ Click on these badges to see how you might be able to help:
|
||||
|
||||
<div align="left" markdown="1">
|
||||
<a href="https://www.facebook.com/share.php?u=https%3A%2F%2Fgithub.com%2FEbookFoundation%2Ffree-programming-books&p[images][0]=&p[title]=Free%20Programming%20Books&p[summary]=">Share on Facebook</a><br>
|
||||
<a href="http://www.linkedin.com/shareArticle?mini=true&url=https://github.com/EbookFoundation/free-programming-books&title=Free%20Programming%20Books&summary=&source=">Share on LinkedIn</a><br>
|
||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://github.com/EbookFoundation/free-programming-books&title=Free%20Programming%20Books&summary=&source=">Share on LinkedIn</a><br>
|
||||
<a href="https://toot.kytta.dev/?text=https://github.com/EbookFoundation/free-programming-books">Share on Mastodon/Fediverse</a><br>
|
||||
<a href="https://t.me/share/url?url=https://github.com/EbookFoundation/free-programming-books">Share on Telegram</a><br>
|
||||
<a href="https://twitter.com/intent/tweet?text=https://github.com/EbookFoundation/free-programming-books%0AFree%20Programming%20Books">Share on 𝕏 (Twitter)</a><br>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user