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

Break formatting #917

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Break formatting #917

wants to merge 7 commits into from

Conversation

tstellar
Copy link
Owner

No description provided.

Have a look at the following commit to see when the move from DWARF 4 to 5 first happened upstream:

llvm@d3b26de?diff=unified
Copy link

github-actions bot commented Jan 15, 2024

✅ With the latest revision this PR passed the Python code formatter.

Copy link

github-actions bot commented Jan 15, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

Actions triggered by pull_request_target events have access to all
repository secrets, so it is unsafe to use them when executing
untrusted code.  The pr-code-format workflow does not execute
any untrusted code, but it passes untrused input into clang-format.
An attacker could use this to exploit a flaw in clang-format and
potentially gain access to the repository secrets.

By splitting the workflow, we can use the pull_request target which
is more secure and isolate the issue write permissions in a separate
job.  The pull_request target also makes it easier to test changes
to the code-format-helepr.py script, because the version of the
script from the pull request will be used rather than the
version of the script from main.
This reverts commit 42cd33d8d0efb236cc81f94f48d57efb0e1fca19.
This reverts commit 097d2f5.
@tstellar tstellar force-pushed the main branch 10 times, most recently from a72d868 to 87ebd6b Compare January 25, 2024 17:57
@tstellar tstellar force-pushed the main branch 9 times, most recently from 7efc31a to 5988056 Compare February 9, 2024 00:39
@tstellar tstellar force-pushed the main branch 8 times, most recently from 4fa0a5d to 760ac9d Compare April 2, 2024 06:27
@tstellar tstellar force-pushed the main branch 2 times, most recently from e122dac to 745c6e6 Compare April 12, 2024 01:51
@tstellar tstellar force-pushed the main branch 4 times, most recently from 758197f to f8063ff Compare May 10, 2024 23:29
@tstellar tstellar force-pushed the main branch 2 times, most recently from cec969f to 78a6a05 Compare May 23, 2024 23:43
@tstellar tstellar force-pushed the main branch 2 times, most recently from 720e09b to d093e40 Compare May 31, 2024 18:11
@tstellar tstellar force-pushed the main branch 4 times, most recently from 2cd0b2a to a88f2fc Compare June 10, 2024 21:14
@tstellar tstellar force-pushed the main branch 3 times, most recently from f897b77 to 6e1d1c5 Compare June 18, 2024 14:04
@tstellar tstellar force-pushed the main branch 3 times, most recently from bf47e71 to be7f182 Compare July 20, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants