Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

GitHub Workflows

Shared GitHub Actions workflows for the OpenSwiftUI Project organization.

Workflows

claude.yml

Workflow that enables Claude Code to interact with pull requests and issues when triggered.

issue-triage.yml

Automated issue triage workflow that uses Claude to analyze and label new issues.

pr-triage.yml

Automated PR triage workflow that uses Claude to analyze and label new pull requests.

Usage

These workflows are designed to be used as reusable workflows across all repositories in the OpenSwiftUIProject organization.

Using claude.yml

Create .github/workflows/claude.yml in your repository:

name: Claude Codeon:
issue_comment:
types: [created]pull_request_review_comment:
types: [created]issues:
types: [opened, assigned]pull_request_review:
types: [submitted]permissions:
contents: readpull-requests: readissues: readid-token: writeactions: readjobs:
claude:
uses: OpenSwiftUIProject/github-workflows/.github/workflows/claude.yml@mainsecrets: inherit

Using issue-triage.yml

Create .github/workflows/issue-triage.yml in your repository:

name: Issue Triageon:
issues:
types: [opened]permissions:
contents: readissues: writejobs:
triage-issue:
uses: OpenSwiftUIProject/github-workflows/.github/workflows/issue-triage.yml@mainsecrets: inherit

Using pr-triage.yml

Create .github/workflows/pr-triage.yml in your repository:

name: PR Triageon:
pull_request_target:
types: [opened]permissions:
contents: readpull-requests: writejobs:
triage-pr:
uses: OpenSwiftUIProject/github-workflows/.github/workflows/pr-triage.yml@mainsecrets: inherit

Note: Using pull_request_target ensures the workflow has write permissions to add labels to PRs from forks.

Requirements

The following secrets are required:

  • CLAUDE_CODE_OAUTH_TOKEN: OAuth token for Claude Code functionality
    • Already configured at the organization level for all OpenSwiftUI Project repositories
    • No per-repository configuration needed
    • To obtain a new token (for org admins), run claude setup-token in your terminal
  • GITHUB_TOKEN: Automatically provided by GitHub Actions

About

Shared GitHub Actions workflows for OpenSwiftUI Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors