Skip to content

Add missing workflow files from OSPO actions#11

Merged
jmeridth merged 10 commits intomainfrom
add-missing-workflows
Mar 11, 2026
Merged

Add missing workflow files from OSPO actions#11
jmeridth merged 10 commits intomainfrom
add-missing-workflows

Conversation

@zkoppert
Copy link
Contributor

Summary

This PR adds standard workflow files that are used across other OSPO GitHub Actions but were missing from pr-conflict-detector.

New Workflows

Code Quality & Security

  • linter.yaml - Runs super-linter on all PRs to enforce code quality standards
  • scorecard.yml - OpenSSF Scorecard security analysis (runs weekly and on branch protection changes)

Release Management

  • auto-labeler.yml - Automatically labels PRs based on changed files (required for release workflow)
  • release-drafter.yml - Configuration file for auto-labeler and release note generation
  • pr-title.yml - Validates PR titles follow conventional commit format

Repository Maintenance

  • stale.yaml - Automatically closes issues stale for 35+ days with no activity
  • copilot-setup-steps.yml - Documents how to set up Copilot CLI for contributors

Why This Matters

Auto-labeler fixes the release workflow

The release workflow was failing because PRs need labels like feature, breaking, or release to trigger a release. Auto-labeler will automatically add these labels based on changed files.

Consistency with other OSPO actions

These workflows are standard across:

  • issue-metrics
  • stale-repos
  • contributors
  • evergreen
  • cleanowners

Testing

  • Auto-labeler should run on this PR and add appropriate labels
  • Linter will run and validate code quality
  • Other workflows will be available for future use

Breaking Changes

None - all workflows are additive.

Added standard workflows used across OSPO GitHub Actions:

- auto-labeler.yml: Automatically labels PRs based on release-drafter config
- copilot-setup-steps.yml: Documents Copilot CLI setup for contributors
- linter.yaml: Runs super-linter on PRs to enforce code quality
- pr-title.yml: Validates PR titles follow conventional commit format
- scorecard.yml: Runs OpenSSF Scorecard security analysis
- stale.yaml: Closes stale issues after 35 days of inactivity
- release-drafter.yml: Configuration for auto-labeler and release notes

These workflows provide:
- Automated PR labeling for release notes
- Code quality enforcement via linting
- Security scanning via Scorecard
- Stale issue management
- PR title validation

Brings pr-conflict-detector in line with other OSPO actions like
issue-metrics, stale-repos, contributors, etc.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@zkoppert zkoppert requested a review from jmeridth as a code owner March 10, 2026 22:59
Copy link
Collaborator

@jmeridth jmeridth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python version non-blocking. LGTM

@jmeridth
Copy link
Collaborator

Ah, we need the .github/linters folder files.

Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
- full .dependabot.yml with cooldown
- prettier on README.md

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth added the automation CI/CD or automation changes label Mar 11, 2026
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth merged commit 0aa52ae into main Mar 11, 2026
34 checks passed
@jmeridth jmeridth deleted the add-missing-workflows branch March 11, 2026 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation CI/CD or automation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants