1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/codeql.yml

22 lines
549 B
YAML
Raw Normal View History

name: "codeql"
on:
push:
branches: [ main ]
jobs:
analyze:
name: analyze
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
chore(deps): bump actions/checkout from 3 to 3.0.2 (#3323) Bumps actions/checkout from 3 to 3.0.2. Release notes Sourced from actions/checkout's releases. v3.0.2 What's Changed Add set-safe-directory input to allow customers to take control. by @​TingluoHuang in actions/checkout#770 Prepare changelog for v3.0.2. by @​TingluoHuang in actions/checkout#777 Full Changelog: actions/checkout@v3...v3.0.2 v3.0.1 Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory Bumped various npm package versions Changelog Sourced from actions/checkout's changelog. Changelog v3.0.2 Add input set-safe-directory v3.0.1 Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory Bumped various npm package versions v3.0.0 Update to node 16 v2.3.1 Fix default branch resolution for .wiki and when using SSH v2.3.0 Fallback to the default branch v2.2.0 Fetch all history for all tags and branches when fetch-depth=0 v2.1.1 Changes to support GHES (here and here) v2.1.0 Group output Changes to support GHES alpha release Persist core.sshCommand for submodules Add support ssh Convert submodule SSH URL to HTTPS, when not using SSH Add submodule support Follow proxy settings Fix ref for pr closed event when a pr is merged Fix issue checking detached when git less than 2.22 v2.0.0 Do not pass cred on command line Add input persist-credentials Fallback to REST API to download repo v2 (beta) Improved fetch performance ... (truncated) Commits See full diff in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2022-08-19 14:11:36 +02:00
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
chore(deps): bump github/codeql-action from 2.1.24 to 2.1.25 (#3394) Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.24 to 2.1.25. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p> <blockquote> <h1>CodeQL Action Changelog</h1> <h2>[UNRELEASED]</h2> <p>No user facing changes.</p> <h2>2.1.25 - 21 Sep 2022</h2> <ul> <li>We will soon be rolling out a feature of the CodeQL Action that stores some information used to make future runs faster in the GitHub Actions cache. Initially, this will only be enabled on JavaScript repositories, but we plan to add more languages to this soon. The new feature can be disabled by passing the <code>trap-caching: false</code> option to your workflow's <code>init</code> step, for example if you are already using the GitHub Actions cache for a different purpose and are near the storage limit for it.</li> <li>Add support for Python automatic dependency installation with Poetry 1.2 <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1258">#1258</a>.</li> </ul> <h2>2.1.24 - 16 Sep 2022</h2> <p>No user facing changes.</p> <h2>2.1.23 - 14 Sep 2022</h2> <ul> <li>Allow CodeQL packs to be downloaded from GitHub Enterprise Server instances, using the new <code>registries</code> input for the <code>init</code> action. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1221">#1221</a></li> <li>Update default CodeQL bundle version to 2.10.5. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1240">#1240</a></li> </ul> <h2>2.1.22 - 01 Sep 2022</h2> <ul> <li>Downloading CodeQL packs has been moved to the <code>init</code> step. Previously, CodeQL packs were downloaded during the <code>analyze</code> step. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1218">#1218</a></li> <li>Update default CodeQL bundle version to 2.10.4. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1224">#1224</a></li> <li>The newly released <a href="https://python-poetry.org/blog/announcing-poetry-1.2.0">Poetry 1.2</a> is not yet supported. In the most common case where the CodeQL Action is automatically installing Python dependencies, it will continue to install and use Poetry 1.1 on its own. However, in certain cases such as with self-hosted runners, you may need to ensure Poetry 1.1 is installed yourself.</li> </ul> <h2>2.1.21 - 25 Aug 2022</h2> <ul> <li>Improve error messages when the code scanning configuration file includes an invalid <code>queries</code> block or an invalid <code>query-filters</code> block. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1208">#1208</a></li> <li>Fix a bug where Go build tracing could fail on Windows. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1209">#1209</a></li> </ul> <h2>2.1.20 - 22 Aug 2022</h2> <p>No user facing changes.</p> <h2>2.1.19 - 17 Aug 2022</h2> <ul> <li>Add the ability to filter queries from a code scanning run by using the <code>query-filters</code> option in the code scanning configuration file. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1098">#1098</a></li> <li>In debug mode, debug artifacts are now uploaded even if a step in the Actions workflow fails. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1159">#1159</a></li> <li>Update default CodeQL bundle version to 2.10.3. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1178">#1178</a></li> <li>The combination of python2 and Pipenv is no longer supported. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1181">#1181</a></li> </ul> <h2>2.1.18 - 03 Aug 2022</h2> <ul> <li>Update default CodeQL bundle version to 2.10.2. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1156">#1156</a></li> </ul> <h2>2.1.17 - 28 Jul 2022</h2> <ul> <li>Update default CodeQL bundle version to 2.10.1. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1143">#1143</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/github/codeql-action/commit/86f3159a697a097a813ad9bfa0002412d97690a4"><code>86f3159</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1261">#1261</a> from github/update-v2.1.25-ff5ca122</li> <li><a href="https://github.com/github/codeql-action/commit/d1e2e02bee04071d46c2f6ccd3fbf3073f898cc6"><code>d1e2e02</code></a> Update changelog for v2.1.25</li> <li><a href="https://github.com/github/codeql-action/commit/ff5ca122eda1e2e13c4180dbfb1bb11d7f5cc139"><code>ff5ca12</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1257">#1257</a> from github/rasmuswl/fix-ubuntu22.04-venv-creation</li> <li><a href="https://github.com/github/codeql-action/commit/32ca2cf500269f3c253386e63fb24f1ca7de5164"><code>32ca2cf</code></a> Apply suggestions from code review</li> <li><a href="https://github.com/github/codeql-action/commit/b2fc1e178e0d4698fbfe13a3dacbd46e1f0dbe23"><code>b2fc1e1</code></a> python-setup: Disable python2 tests on ubuntu-22.04</li> <li><a href="https://github.com/github/codeql-action/commit/8a893ddf189a2414cad54a3cdc31c8db322b2b27"><code>8a893dd</code></a> python-setup: Flush even more</li> <li><a href="https://github.com/github/codeql-action/commit/93ba53f2de80a13ee5ef48ee7a6f68de121da298"><code>93ba53f</code></a> add missing spaces</li> <li><a href="https://github.com/github/codeql-action/commit/1fa5d728463866f63a4442b14b8b4ea5dfd1e0cc"><code>1fa5d72</code></a> python-setup: Fail early if installing for Python 2, and <code>python2</code> not available</li> <li><a href="https://github.com/github/codeql-action/commit/417059fdb2c703ed2e021b25145fb9bacb884968"><code>417059f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1258">#1258</a> from github/rasmuswl/poetry-v1.2</li> <li><a href="https://github.com/github/codeql-action/commit/ca8a78d5f36e47a16a62363aed1e67b067c0cc0a"><code>ca8a78d</code></a> python-setup: flush at the end of <code>_check_call</code></li> <li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/904260d7d935dff982205cbdb42025ce30b7a34f...86f3159a697a097a813ad9bfa0002412d97690a4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=2.1.24&new-version=2.1.25)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 15:03:52 +02:00
- uses: github/codeql-action/init@86f3159a697a097a813ad9bfa0002412d97690a4 # v2
- uses: github/codeql-action/autobuild@86f3159a697a097a813ad9bfa0002412d97690a4 # v2
- uses: github/codeql-action/analyze@86f3159a697a097a813ad9bfa0002412d97690a4 # v2