Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Conversation

@Pilzinsel64
Copy link

No description provided.

@Pilzinsel64
Copy link
Author

@kyrofa Looks like you need to approve once as I never PRed to this repo.

@kyrofa
Copy link
Owner

kyrofa commented Sep 22, 2023

Gah, same failure: https://github.com/kyrofa/ignore-me/actions/runs/6277364903/job/17048939042 . Stupid github. I'll need to figure out another way to get the PR number. Thank you @Pilzinsel64, this was helpful. If you can figure out how to use the github API to turn this workflow run into a pull request ID, let me know. I'll investigate as well.

@Pilzinsel64
Copy link
Author

Sure, I will let you know!

@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Sep 23, 2023

@kyrofa something like this, maybe?
actions/checkout#58 (comment)
Just a quick search, will search more...

@Pilzinsel64
Copy link
Author

Or maybe this via the gh tool:
actions/checkout#58 (comment)

@kyrofa
Copy link
Owner

kyrofa commented Sep 24, 2023

Yeah we're not using the pull request event, but the workflow_run event, which has different data available.

@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Sep 24, 2023

Ah, I see.

@Pilzinsel64
Copy link
Author

Looks like this is a topic nobody talked about. Maybe I can get little into the API documentation this day.

And alrernive would be to rename the snap.snap to snap_prid.snap? This however would still enable thepr owner to push a custom pr Id?
However, for first contributed you need to approve the test even, so, bot sure if protecting the PR is is needed that quickly (at least for now, until we find a better solution).

@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Sep 24, 2023

Hm, this sounds definetly like our problem. What do you think @kyrofa? 🤔 But looks like the solution is the same again, upload it as artifact.
https://github.com/orgs/community/discussions/25220#discussioncomment-3246922

@pachulo
Copy link

pachulo commented Sep 24, 2023 via email

@kyrofa
Copy link
Owner

kyrofa commented Sep 24, 2023

Haha, I read @Pilzinsel64's link and came to say the same thing as @pachulo. Yes, exactly. That approach sounds promising indeed, I'll give it a shot. Good work, guys!

@kyrofa
Copy link
Owner

kyrofa commented Sep 25, 2023

@Pilzinsel64 okay try rebasing on master.

@Pilzinsel64
Copy link
Author

Oh, you got it? The error now is at least about the snap file being corrupted.

@kyrofa
Copy link
Owner

kyrofa commented Sep 25, 2023

Yeah this is definitely promising, but I'm not sure what's happening now.

@Pilzinsel64
Copy link
Author

Maybe I should edit something else. Give me a sec...

@Pilzinsel64 Pilzinsel64 closed this by deleting the head repository Sep 25, 2023
@kyrofa
Copy link
Owner

kyrofa commented Sep 25, 2023

No I found it, re-open. Then I can fix it. You need to rebase on my change branch, it's the one that actually builds a snap.

@Pilzinsel64
Copy link
Author

Pilzinsel64 commented Sep 25, 2023

Oh, sorry, see #4
Hope that's fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants