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

GitHub Action Introspection Test Failure #1429

Closed
palisadoes opened this issue Jan 14, 2024 · 1 comment
Closed

GitHub Action Introspection Test Failure #1429

palisadoes opened this issue Jan 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@palisadoes
Copy link
Contributor

Describe the bug

The introspection GitHub Action checks are failing in our PRs

To Reproduce
Steps to reproduce the behavior:

  1. Submit a PR
  2. The introspection check fails

This is because the git clone command defaults to cloning the default Talawa-API branch which is main instead of develop. We are therefore comparing main in one repo with develop in the other.

Expected behavior

  1. The introspection check must clone Talawa API using the same branch as that target branch of the Talawa Admin PR. This must be done automatically using GitHub action variables.
    1. If the PR is merging the contributor's code into the Talawa Admin XXXXXXX branch then the XXXXXXX branch must be automatically cloned in the GitHub action file.
  2. It's been suggested in the comments link below that this command could be used:
git clone -b branch_name --single-branch REPO_NAME && ls -a
  1. All other functionality must be maintained.
  2. The above suggested change may require adjustment

Actual behavior

  • See above

Screenshots

If applicable, add screenshots to help explain your problem.

image

Additional details

Comments from other PRs and issues and failed GitHub actions

  1. Admin - Remove Support for Private Organizations #1327 (comment)
  2. https://github.com/PalisadoesFoundation/talawa-admin/actions/runs/7521006577/job/20472163884

The GitHub Action File that needs editing

  1. https://github.com/PalisadoesFoundation/talawa-admin/blob/develop/.github/workflows/pull-requests.yml

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship

@aialok
Copy link
Contributor

aialok commented Jan 14, 2024

I would love to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants