Skip to content

ci: align workflow pins and permissions with the other repositories - #42

Merged
Seungpyo1007 merged 4 commits into
developfrom
chore/align-workflows
Nov 11, 2026
Merged

Seungpyo1007 merged 4 commits into
developfrom
chore/align-workflows

Conversation

@TechEngineBot

Copy link
Copy Markdown
Member

What & why

validate-data and deploy-pages pinned older action releases than final-check and the other GetTechAPI repositories, and validate-data ran without a permissions: block, concurrency or a timeout. This brings the three workflows to the same pins and gives validate-data read-only permissions. The README now matches the code.

Changes

  • Pins: checkout v4.4.0 → v7.0.1 and setup-python v5.6.0 → v7.1.0 in validate-data.yml and deploy-pages.yml. The Pages actions were already current.
  • validate-data.yml: permissions: contents: read, per-ref concurrency, a 10-minute timeout. deploy-pages.yml gets job timeouts. What the jobs do is unchanged.
  • README: source_url → source_urls; a full Layout section; how to run the table ingest (python -m app.ingest.from_table TABLE [--dry-run]); how this repository relates to TechAPI.
  • Docstrings: app/ingest/classify.py no longer says unknown rows go to a review issue; nothing files one.
  • Line endings: .editorconfig and .gitattributes; every tracked file was already LF.

No file under data/ changes.

Checks

  • Validator: all ES CPU records pass.
  • pytest: 22 passed locally.

…python v7.1.0

final-check.yml and the other GetTechAPI repositories already run these
releases; the two older workflows were still on checkout v4.4.0 and
setup-python v5.6.0. The Pages actions were already current.
validate-data ran with the default token permissions, never cancelled a
superseded run and had no timeout. Give it contents: read, a per-ref
concurrency group and a 10 minute limit. The Pages build and deploy jobs
get timeouts as well. What the jobs run is unchanged.
The README named the field source_url; the validator and the PR template
use source_urls. It also left out app/ingest/from_table.py, its entry
point and what it writes, and listed only part of the tree. The
classifier docstring said unknown candidates go to a review issue, which
nothing in the code does: they are reported and skipped.
@TechEngineBot TechEngineBot added this to the ES CPU prototype milestone Nov 11, 2026
@TechEngineBot TechEngineBot added documentation Improvements or additions to documentation enhancement New feature or request ci CI and workflow changes labels Nov 11, 2026
@Seungpyo1007
Seungpyo1007 merged commit c978a07 into develop Nov 11, 2026
7 checks passed
@Seungpyo1007
Seungpyo1007 deleted the chore/align-workflows branch November 11, 2026 18:10
@github-project-automation github-project-automation Bot moved this from Todo to Done in CPU Engineering Samples Nov 11, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in TechAPI-Project Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI and workflow changes documentation Improvements or additions to documentation enhancement New feature or request

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants