Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Vuln scan github actions permissions #42099

Merged
merged 1 commit into from
May 18, 2023

Conversation

sealesj
Copy link
Contributor

@sealesj sealesj commented May 17, 2023

The lack of permissions on the vulnerability scanning github actions yaml will cause all runs to fail at the upload SARIF to security tab stage. This change adds the permissions for that stage to succeed.

A successful test run is can be seen here: https://github.com/flutter/engine/actions/runs/5006551387/jobs/8971979211

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@sealesj sealesj requested a review from drewroengoogle May 17, 2023 18:40
@drewroengoogle drewroengoogle added the autosubmit Merge PR when tree becomes green via auto submit App label May 17, 2023
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #42099 at sha c7d3778

@sealesj sealesj merged commit 239e959 into flutter:main May 18, 2023
@sealesj sealesj deleted the vuln-scan-permissions branch May 18, 2023 16:09
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 18, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 18, 2023
…127126)

flutter/engine@237c601...5fb3179

2023-05-18 [email protected] Roll Fuchsia Mac SDK from jNFpQ1gTCMNbzSZCw... to Tl371NrGBEHFYPxHQ... (flutter/engine#42128)
2023-05-18 [email protected] Vuln scan github actions permissions (flutter/engine#42099)
2023-05-18 [email protected] Roll Dart SDK from 1991015ad460 to 7bc022c51215 (1 revision) (flutter/engine#42125)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from jNFpQ1gTCMNb to Tl371NrGBEHF

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
…lutter#127126)

flutter/engine@237c601...5fb3179

2023-05-18 [email protected] Roll Fuchsia Mac SDK from jNFpQ1gTCMNbzSZCw... to Tl371NrGBEHFYPxHQ... (flutter/engine#42128)
2023-05-18 [email protected] Vuln scan github actions permissions (flutter/engine#42099)
2023-05-18 [email protected] Roll Dart SDK from 1991015ad460 to 7bc022c51215 (1 revision) (flutter/engine#42125)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from jNFpQ1gTCMNb to Tl371NrGBEHF

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants