Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / .github/workflows/update-websites-json.yml |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | .github/workflows/update-websites-json.yml |
| Original SHA-256 | fa815ef6227dc9154b70f6bc0880b15b8a74284fb6569755af9708a49bebe212 |
| Git blob SHA | 57321e05a8a156f1ea90570facb3ea4695c2ad96 |
| Reading-copy SHA-256 | fa815ef6227dc9154b70f6bc0880b15b8a74284fb6569755af9708a49bebe212 |
Recovered source transcript
Download complete source text ↓55 lines · 1.5 KB
name: Update websites.json
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "packages/content/data/websites/**"
concurrency:
group: update-websites-json-${{ github.ref }}
cancel-in-progress: true
jobs:
update-websites-json:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]'
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
uses: ./.github/actions/install
- name: Generate websites.json
run: |
pnpm generate-websites
- name: Check for changes
id: git-check
run: |
git diff --quiet data/websites.json || echo "changes=true" >> $GITHUB_OUTPUT
- name: Create Pull Request
if: steps.git-check.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update websites.json [skip ci]"
title: "chore: update websites.json"
body: |
This PR updates `data/websites.json` based on the current state of website entries.
branch: update-websites-json
base: main
delete-branch: true
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>