Compare commits

...

3 Commits

Author SHA1 Message Date
Liss-Bot aa86d7d929 Updated Awesome Privacy content (last modified on 07-Apr-2024) 2024-04-07 11:12:17 +00:00
Alicia Sykes a2f29f19c7 Add trailing char for third-party parsing 2024-04-07 12:11:42 +01:00
Alicia Sykes 5887fe8f8f Updates action to sync docs 2024-04-07 12:04:53 +01:00
3 changed files with 309 additions and 309 deletions

576
.github/README.md vendored

File diff suppressed because it is too large Load Diff

View File

@ -3,31 +3,31 @@
name: 🔄 Sync main to Website
on:
# push:
# branches:
# - main
workflow_dispatch: # Manual dispatch
schedule:
- cron: '0 5 * * 6' # Every Saturday morning.
jobs:
sync-branches:
copy-readme:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
- name: Check out repo
uses: actions/checkout@v3
with:
node-version: 12
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
with:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
FROM_BRANCH: main
TO_BRANCH: gh-pages
PULL_REQUEST_TITLE: '[AUTO] Update docs site'
PULL_REQUEST_BODY: |
Merging main into gh-pages, to be deployed to [awesome-privacy.xyz](https://awesome-privacy.xyz/).
fetch-depth: 0
- name: Configure git
run: |
git config --global user.email "alicia-gh-bot@mail.as93.net"
git config --global user.name "Liss-Bot"
- name: Copy README.md to gh-pages
run: |
git fetch
git checkout gh-pages
git checkout main -- .github/README.md
mv .github/README.md README.md
git add README.md
git commit -m "Update README.md from main"
git push origin gh-pages

View File

@ -126,7 +126,7 @@ def makeAwesomePrivacy():
f"{repoElement(app.get('github'))} "
f"{tosElement(app.get('tosdrId'))} "
f"{awesomePrivacyReport(category.get('name'), section.get('name'), app.get('name'))} \n"
f"{statsElement(app.get('openSource'), app.get('securityAudited'), app.get('acceptsCrypto'))} \n"
f"{statsElement(app.get('openSource'), app.get('securityAudited'), app.get('acceptsCrypto'))}˙ \n"
f"\n\t\t</details>\n"
)
if app.get('github') or app.get('tosdrId') else '')