Skip to content
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

Fix GitHub Actions failure due to missing github-token #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link

@sweep-ai sweep-ai bot commented Dec 31, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement
    I created this PR to fix the failing GitHub Actions.## Description
    This PR addresses the issue of the failing GitHub Actions due to an empty "github-token". The "github-token" is now included in the "with" section of the "lock-threads" action in the GitHub Actions workflow file (.github/workflows/lock-issue.yml). This token is fetched from the GitHub secrets store and is used to authenticate the "lock-threads" action with the GitHub API.

Summary of Changes

  • Modified .github/workflows/lock-issue.yml to include the "github-token" in the "with" section of the "lock-threads" action.

@sweep-ai sweep-ai bot requested a review from cubxxw as a code owner December 31, 2023 01:30
Copy link
Author

sweep-ai bot commented Dec 31, 2023

Rollback Files For Sweep

  • Rollback changes to .github/workflows/lock-issue.yml
  • Rollback changes to .github/workflows/lock-issue.yml

@sweep-ai sweep-ai bot added the sweep label Dec 31, 2023
Copy link
Author

sweep-ai bot commented Dec 31, 2023

Sandbox Executions

  • Running GitHub Actions for .github/workflows/lock-issue.yml
Check .github/workflows/lock-issue.yml with contents:

Ran GitHub Actions for 890ee534f500f990c6d2fbf0202fec6b4912e871:

Copy link


1 similar comment
Copy link


Copy link
Author

sweep-ai bot commented Dec 31, 2023

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run ./scripts/helm-docs.sh
yielded the following error:
##[error]Process completed with exit code 126.

Here are the logs:
/home/runner/work/_temp/fdd1ccd0-b325-4874-af40-fac74e6f1332.sh: line 1: ./scripts/helm-docs.sh: Permission denied

Making changes according to plan... (step 3/3)

Copy link
Author

sweep-ai bot commented Dec 31, 2023

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

[Sweep GHA Fix] The GitHub Actions run failed with the following error logs:

The command:
Run engineerd/setup-kind@v0.5.0
yielded the following error:
##[error]The process '/opt/hostedtoolcache/kind/0.7.0/x64/kind' failed with exit code 1

Here are the logs:
downloading kind from https://github.com/kubernetes-sigs/kind/releases/download/v0.7.0/kind-linux-amd64
[command]/usr/bin/chmod +x /home/runner/work/_temp/fea23440-57b1-4aa7-95f0-ec685d6c5400
Executing kind with args create,cluster,--name,kind,--wait,300s
[command]/opt/hostedtoolcache/kind/0.7.0/x64/kind create cluster --name kind --wait 300s
Creating cluster "kind" ...<br/>• Ensuring node image (kindest/node:v1.17.0) 🖼  ...
✓ Ensuring node image (kindest/node:v1.17.0) 🖼<br/>• Preparing nodes 📦   ...
✓ Preparing nodes 📦<br/>• Writing configuration 📜  ...
✓ Writing configuration 📜<br/>• Starting control-plane 🕹️  ...
✗ Starting control-plane 🕹️
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged 40ef49ed3c0ac529e832c28da3be5dd6b7a996f8d1af1294fc7af6e2d77216bc kubeadm init --ignore-preflight-errors=all --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1

Making changes according to plan... (step 3/3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant