Skip to content

ci: add checkout for staff label workflow #6160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

joshblack
Copy link
Member

Noticed that our action was failing with this message:

failed to run git: fatal: not a git repository (or any of the parent directories): .git

This PR adds a checkout before running the command to avoid this.

Changelog

New

Changed

  • Add checkout to add staff label workflow

Removed

@Copilot Copilot AI review requested due to automatic review settings June 3, 2025 15:52
@joshblack joshblack added the skip changeset This change does not need a changelog label Jun 3, 2025
@joshblack joshblack requested a review from a team as a code owner June 3, 2025 15:52
@joshblack joshblack requested a review from TylerJDev June 3, 2025 15:52
Copy link

changeset-bot bot commented Jun 3, 2025

⚠️ No Changeset found

Latest commit: 47795c0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@joshblack joshblack enabled auto-merge June 3, 2025 15:53
@github-actions github-actions bot added the staff Author is a staff member label Jun 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a failing workflow by adding the missing checkout step before running git commands in the staff label action.

  • Added a repository checkout step
  • Ensures the workflow runs in a proper Git context

@@ -13,6 +13,8 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Copy link
Preview

Copilot AI Jun 3, 2025

Choose a reason for hiding this comment

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

Consider pinning to a version tag like actions/checkout@v3 instead of a specific commit SHA to benefit from bug fixes and improvements while maintaining stability.

Suggested change
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
uses: actions/checkout@v3

Copilot uses AI. Check for mistakes.

Copy link
Contributor

github-actions bot commented Jun 3, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 94.51 KB (0%)
packages/react/dist/browser.umd.js 94.64 KB (0%)

@joshblack joshblack added this pull request to the merge queue Jun 3, 2025
Merged via the queue into main with commit a5c0354 Jun 3, 2025
42 checks passed
@joshblack joshblack deleted the ci/update-staff-label-workflow branch June 3, 2025 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changeset This change does not need a changelog staff Author is a staff member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants