chore: migrate CI and contribution files to Forgejo (.forgejo)
Pablo Murad pblmrd@gmail.com
Fri, 31 Jul 2026 18:24:51 -0300
11 files changed,
49 insertions(+),
43 deletions(-)
A
.forgejo/workflows/link-check.yml
@@ -0,0 +1,42 @@
+name: Link check + +on: + schedule: + - cron: "0 0 1 * *" # 00:00 UTC on the 1st of every month + workflow_dispatch: # allow manual runs from the Actions tab + +jobs: + check: + runs-on: docker + # python:3 ships both python3 and git, so the job needs no Node-based + # actions (checkout/setup-python). Every step below is a plain shell step. + container: + image: python:3 + steps: + - name: Check out the repository + env: + # Prefer a write-enabled access token stored as the PUSH_TOKEN secret; + # fall back to the automatic per-run token when it is not set. + PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }} + RUN_TOKEN: ${{ github.token }} + run: | + git config --global --add safe.directory '*' + token="${PUSH_TOKEN:-$RUN_TOKEN}" + host="${GITHUB_SERVER_URL#https://}" + git clone --depth 1 --branch "$GITHUB_REF_NAME" \ + "https://x-access-token:${token}@${host}/${GITHUB_REPOSITORY}.git" . + + - name: Check links and annotate dead entries + run: python3 .forgejo/scripts/check_links.py + + - name: Commit changes if any + run: | + if [ -n "$(git status --porcelain README.md)" ]; then + git config user.name "Link Checker" + git config user.email "link-checker@source.tube" + git add README.md + git commit -m "chore: flag dead links (automated monthly check)" + git push origin "HEAD:${GITHUB_REF_NAME}" + else + echo "No dead-link changes to commit." + fi
M
.github/ISSUE_TEMPLATE/config.yml
→
.forgejo/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: true contact_links: - name: Contribution guidelines - url: https://github.com/runawaydevil/awesome-indieweb/blob/main/CONTRIBUTING.md + url: https://source.tube/pmurad/awesome-indieweb/src/branch/main/CONTRIBUTING.md about: Please read the guidelines before adding, updating, or removing an entry.
M
.github/scripts/check_links.py
→
.forgejo/scripts/check_links.py
@@ -15,7 +15,7 @@ ENTRY_RE = re.compile(r"^- \[[^\]]+\]\((https?://[^)]+)\)")
UA = ( "Mozilla/5.0 (compatible; awesome-indieweb-linkcheck/1.0; " - "+https://github.com/runawaydevil/awesome-indieweb)" + "+https://source.tube/pmurad/awesome-indieweb)" ) TIMEOUT = 20
D
.github/workflows/link-check.yml
@@ -1,38 +0,0 @@
-name: Link check - -on: - schedule: - - cron: "0 0 1 * *" # 00:00 UTC on the 1st of every month - workflow_dispatch: # allow manual runs from the Actions tab - -permissions: - contents: write - -concurrency: - group: link-check - cancel-in-progress: true - -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: "3.x" - - - name: Check links and annotate dead entries - run: python .github/scripts/check_links.py - - - name: Commit changes if any - run: | - if [ -n "$(git status --porcelain README.md)" ]; then - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add README.md - git commit -m "chore: flag dead links (automated monthly check)" - git push - else - echo "No dead-link changes to commit." - fi
M
.gitignore
→
.gitignore
@@ -1,1 +1,3 @@
-.recursos/ +# files from my obsidian +.recursos/ +__pycache__/
M
CONTRIBUTING.md
→
CONTRIBUTING.md
@@ -1,6 +1,6 @@
# Contribution Guidelines -Thanks for taking the time to contribute! Please [open a pull request](https://github.com/runawaydevil/awesome-indieweb/pulls) to add, update, or remove an entry. If you cannot open a PR, [file an issue](https://github.com/runawaydevil/awesome-indieweb/issues/new/choose) to suggest a resource or report a broken link. +Thanks for taking the time to contribute! Please [open a pull request](https://source.tube/pmurad/awesome-indieweb/pulls) to add, update, or remove an entry. If you cannot open a PR, [file an issue](https://source.tube/pmurad/awesome-indieweb/issues/new/choose) to suggest a resource or report a broken link. ## Adding an entry
M
README.md
→
README.md
@@ -6,7 +6,7 @@ The [IndieWeb](https://indieweb.org/) is not a product, a social network, or an official stack. It is an approach centered on **publishing first in a space you control** (normally your own domain), keeping URLs durable, and connecting that site to the wider web through open standards.
This list spans both resources **native to the IndieWeb** (standards and building blocks) and **adjacent** tools that solve important parts of the problem well. Statuses change fast, confirm recent releases, docs, and export procedures before adopting a critical component. -**Contributions are welcome.** Open a [pull request](https://github.com/runawaydevil/awesome-indieweb/pulls) to add, update, or remove an entry, or file an [issue](https://github.com/runawaydevil/awesome-indieweb/issues/new/choose) to suggest a resource or report a broken link. Please read the [contribution guidelines](CONTRIBUTING.md) first. +**Contributions are welcome.** Open a [pull request](https://source.tube/pmurad/awesome-indieweb/pulls) to add, update, or remove an entry, or file an [issue](https://source.tube/pmurad/awesome-indieweb/issues/new/choose) to suggest a resource or report a broken link. Please read the [contribution guidelines](CONTRIBUTING.md) first. Links are checked automatically on the first of each month. Entries found permanently unreachable are flagged **(link no longer exists)** next to them. Please open a PR to fix or remove any you spot.