If applied, this commit will allow for new GitLab clients to use both ci
job tokens and plain tokens (for things like brew publishing where the
CI_JOB_TOKEN isn't applicable)
This provides a fix for #3399
---
closes#3399
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
closes#3407
Signed-off-by: Sheridan C Rawlins <scr@yahooinc.com>
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Sheridan C Rawlins <scr@yahooinc.com>
The example creates an error because builds is supposed to be an array
here is shown as a string
<!--
Hi, thanks for contributing!
Please make sure you read our CONTRIBUTING guide.
Also, add tests and the respective documentation changes as well.
-->
<!-- If applied, this commit will... -->
...
<!-- Why is this change being made? -->
...
<!-- # Provide links to any relevant tickets, URLs or other resources
-->
...
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="86f3159a69"><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="d1e2e02bee"><code>d1e2e02</code></a>
Update changelog for v2.1.25</li>
<li><a
href="ff5ca122ed"><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="32ca2cf500"><code>32ca2cf</code></a>
Apply suggestions from code review</li>
<li><a
href="b2fc1e178e"><code>b2fc1e1</code></a>
python-setup: Disable python2 tests on ubuntu-22.04</li>
<li><a
href="8a893ddf18"><code>8a893dd</code></a>
python-setup: Flush even more</li>
<li><a
href="93ba53f2de"><code>93ba53f</code></a>
add missing spaces</li>
<li><a
href="1fa5d72846"><code>1fa5d72</code></a>
python-setup: Fail early if installing for Python 2, and
<code>python2</code> not available</li>
<li><a
href="417059fdb2"><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="ca8a78d5f3"><code>ca8a78d</code></a>
python-setup: flush at the end of <code>_check_call</code></li>
<li>Additional commits viewable in <a
href="904260d7d9...86f3159a69">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>
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 2.1.23 to 2.1.24.
<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>
<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>
</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>
<h2>2.1.16 - 13 Jul 2022</h2>
<ul>
<li>You can now quickly debug a job that uses the CodeQL Action by
re-running the job from the GitHub UI and selecting the "Enable
debug logging" option. <a
href="https://github-redirect.dependabot.com/github/codeql-action/pull/1132">#1132</a></li>
<li>You can now see diagnostic messages produced by the analysis in the
logs of the <code>analyze</code> Action by enabling debug mode. To
enable debug mode, pass <code>debug: true</code> to the
<code>init</code> Action, or <a
href="https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging">enable
step debug logging</a>. This feature is available for CodeQL CLI version
2.10.0 and later. <a
href="https://github-redirect.dependabot.com/github/codeql-action/pull/1133">#1133</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="904260d7d9"><code>904260d</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1250">#1250</a>
from github/update-v2.1.24-34aa5a55</li>
<li><a
href="21c716dd69"><code>21c716d</code></a>
Update changelog for v2.1.24</li>
<li><a
href="34aa5a554b"><code>34aa5a5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1242">#1242</a>
from github/henrymercer/go-more-backwards-compat</li>
<li><a
href="9207340122"><code>9207340</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1239">#1239</a>
from github/dependabot/npm_and_yarn/uuid-9.0.0</li>
<li><a
href="fefa6f57a4"><code>fefa6f5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1247">#1247</a>
from github/mergeback/v2.1.23-to-main-6a38b7d4</li>
<li><a
href="e6ad3e0b35"><code>e6ad3e0</code></a>
Update checked-in dependencies</li>
<li><a
href="f84e389feb"><code>f84e389</code></a>
Update changelog and version after v2.1.23</li>
<li><a
href="f32e161cdd"><code>f32e161</code></a>
Improve warning when using autobuild with multi-language builds</li>
<li><a
href="4cc95769d4"><code>4cc9576</code></a>
Improve variable name</li>
<li><a
href="bde5694fb7"><code>bde5694</code></a>
Comment why we don't run multiple autobuilders for other languages</li>
<li>Additional commits viewable in <a
href="6a38b7d4a1...904260d7d9">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.23&new-version=2.1.24)](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>
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 2.1.22 to 2.1.23.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6a38b7d4a1"><code>6a38b7d</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1246">#1246</a>
from github/update-v2.1.23-fd4dc5bf</li>
<li><a
href="99d0a6bc15"><code>99d0a6b</code></a>
Update changelog for v2.1.23</li>
<li><a
href="fd4dc5bf31"><code>fd4dc5b</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1244">#1244</a>
from github/criemen/remove-lua-tracer-ff</li>
<li><a
href="c2560331fc"><code>c256033</code></a>
Fix runner integration test.</li>
<li><a
href="0a38743d1a"><code>0a38743</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1240">#1240</a>
from github/henrymercer/2.10.5-bump</li>
<li><a
href="3038e979a8"><code>3038e97</code></a>
Remove the lua tracer feature flag check from the codeql-action.</li>
<li><a
href="ff575f231d"><code>ff575f2</code></a>
Add changelog note</li>
<li><a
href="4a8d26e2bd"><code>4a8d26e</code></a>
Bump CodeQL version to 2.10.5</li>
<li><a
href="9ba4d500aa"><code>9ba4d50</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/github/codeql-action/issues/1221">#1221</a>
from github/aeisenberg/ghes-pack-download</li>
<li><a
href="6085805a3a"><code>6085805</code></a>
Append <code>/</code> to end of registries url</li>
<li>Additional commits viewable in <a
href="b398f525a5...6a38b7d4a1">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.22&new-version=2.1.23)](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>
When using specific targets in the config, single target becomes
ineffective. This should fix it. This also removes other build options
like gomips, goarm, goamd64, etc, as go will infer them from the current
OS. In theory we should one day support all the GO* flags go build
supports.
Bumps [github.com/disgoorg/disgo](https://github.com/disgoorg/disgo)
from 0.13.17 to 0.13.20.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/disgoorg/disgo/releases">github.com/disgoorg/disgo's
releases</a>.</em></p>
<blockquote>
<h2>v0.13.20 - Forum Channel Updates</h2>
<h2>What's Changed</h2>
<ul>
<li>implement recent forum updates by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/197">disgoorg/disgo#197</a></li>
<li>populate <code>GuildID</code> in <code>Message</code>s from
interactions by <a
href="https://github.com/TopiSenpai"><code>@TopiSenpai</code></a> in <a
href="9ebbc6ea22</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/disgoorg/disgo/compare/v0.13.19...v0.13.20">https://github.com/disgoorg/disgo/compare/v0.13.19...v0.13.20</a></p>
<h2>v0.13.19 - Pagination and Improved Presence UX</h2>
<h2>What's Changed</h2>
<ul>
<li>pagination helpers by <a
href="https://github.com/TopiSenpai"><code>@TopiSenpai</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/183">disgoorg/disgo#183</a></li>
<li>improve presence UX by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/196">disgoorg/disgo#196</a></li>
<li>payload type consistency fixes by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/198">disgoorg/disgo#198</a></li>
<li>add <code>JumpURL()</code> to <code>Message</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="97dd956ee7</a></li>
<li>add <code>GuildFeatureInvitesDisabled</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/192">disgoorg/disgo#192</a></li>
<li>rename <code>CommandNameLocalizations</code> to
<code>NameLocalizations</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="31933fcdeb</a></li>
<li>replace <code>rest.UpdateSelfNick</code> with
<code>rest.UpdateCurrentMember</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/199">disgoorg/disgo#199</a></li>
</ul>
<h2>Breaking</h2>
<ul>
<li><code>gateway.WithPresence(...)</code> was renamed to
<code>gateway.WithPresenceOpts(...)</code> and
<code>gateway.NewXPresence(...)</code> funcs were renamed to
<code>gateway.WithXPresence(...)</code>. This change makes all presence
data optional, meaning you won't have to pass unwanted data on every
presence update.</li>
</ul>
<p>Example:</p>
<pre lang="go"><code>bot.WithGatewayConfigOpts(
gateway.WithPresenceOpts(gateway.WithListeningActivity("music")),
...
)
</code></pre>
<p>New funcs:
<code>gateway.WithOnlineStatus(...)</code>
<code>gateway.WithAfk(...)</code>
<code>gateway.WithSince(...)</code></p>
<ul>
<li>some payload field types were changed to match the behavior of the
Discord API</li>
<li><code>CommandNameLocalizations</code> fields were renamed to
<code>NameLocalizations</code></li>
<li>the <code>limit</code> parameter in
<code>rest.GetGuildScheduledEventUsers</code> was moved</li>
<li><code>rest.UpdateSelfNick</code> was replaced with
<code>rest.UpdateCurrentMember</code> as the old endpoint is deprecated
(structs were also renamed accordingly)</li>
<li><code>MaxAgree</code> in <code>InviteCreate</code> was renamed to
<code>MaxAge</code> (this probably didn't even need to be mentioned
since no one complained lol)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/disgoorg/disgo/compare/v0.13.18...v0.13.19">https://github.com/disgoorg/disgo/compare/v0.13.18...v0.13.19</a></p>
<h2>v0.13.18 - Gateway Resume URL Handling</h2>
<h2>What's Changed</h2>
<ul>
<li>implement gateway resume URL handling by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/186">disgoorg/disgo#186</a></li>
<li>replace <code>DeleteMessageDays</code> with
<code>DeleteMessageSeconds</code> and make <code>rest.AddBan</code> take
a <code>time.Duration</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/195">disgoorg/disgo#195</a></li>
<li>add <code>MessageURL</code> format to <code>Message</code> by <a
href="https://github.com/TopiSenpai"><code>@TopiSenpai</code></a> in <a
href="9f10939de2</a></li>
<li>add <code>ApplicationCommands</code> to <code>AuditLog</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/193">disgoorg/disgo#193</a></li>
<li>add <code>Scopes</code> to <code>BotIntegration</code> by <a
href="https://github.com/caneleex"><code>@caneleex</code></a> in <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/pull/190">disgoorg/disgo#190</a></li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li><code>rest.AddBan</code> now takes a <code>time.Duration</code>
instead of an <code>int</code> of <code>deleteMessageDays</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f04f4638bb"><code>f04f463</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/issues/197">#197</a>
from disgoorg/patch/forum-updates</li>
<li><a
href="78ef75c526"><code>78ef75c</code></a>
remove embedding</li>
<li><a
href="76def4ee6c"><code>76def4e</code></a>
Update discord/thread.go</li>
<li><a
href="5aab1eaabd"><code>5aab1ea</code></a>
Merge branch 'development' into patch/forum-updates</li>
<li><a
href="9ebbc6ea22"><code>9ebbc6e</code></a>
populate missing guild_id field in messages returned by
interactions</li>
<li><a
href="364ec06648"><code>364ec06</code></a>
fix "unknown" misspells</li>
<li><a
href="1c504a9a97"><code>1c504a9</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/issues/183">#183</a>
from disgoorg/feature/pagination-helpers</li>
<li><a
href="0fa0901433"><code>0fa0901</code></a>
fix pagination example</li>
<li><a
href="15bdcc1e32"><code>15bdcc1</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/disgoorg/disgo/issues/192">#192</a>
from disgoorg/patch/invites-disabled-feature</li>
<li><a
href="37d3de27da"><code>37d3de2</code></a>
remove unneeded UnmarshalChannel for threads in audit log</li>
<li>Additional commits viewable in <a
href="https://github.com/disgoorg/disgo/compare/v0.13.17...v0.13.20">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/disgoorg/disgo&package-manager=go_modules&previous-version=0.13.17&new-version=0.13.20)](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>
Bumps [github.com/caarlos0/env/v6](https://github.com/caarlos0/env) from
6.10.0 to 6.10.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/caarlos0/env/releases">github.com/caarlos0/env/v6's
releases</a>.</em></p>
<blockquote>
<h2>v6.10.1</h2>
<h2>Changelog</h2>
<h3>Bug fixes</h3>
<ul>
<li>f3ddf1f7ee602a224429717ddc431e9083d45882: fix: non empty struct
pointer value (<a
href="https://github-redirect.dependabot.com/caarlos0/env/issues/236">#236</a>)
(<a href="https://github.com/akutuev"><code>@akutuev</code></a>)</li>
</ul>
<hr />
<p><em>Released with <a href="https://goreleaser.com/pro">GoReleaser
Pro</a>!</em></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="538d000518"><code>538d000</code></a>
chore: touch go.sum</li>
<li><a
href="5d66c35135"><code>5d66c35</code></a>
chore: govulncheck, semgrep & ruleguard jobs</li>
<li><a
href="f3ddf1f7ee"><code>f3ddf1f</code></a>
fix: non empty struct pointer value (<a
href="https://github-redirect.dependabot.com/caarlos0/env/issues/236">#236</a>)</li>
<li>See full diff in <a
href="https://github.com/caarlos0/env/compare/v6.10.0...v6.10.1">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/caarlos0/env/v6&package-manager=go_modules&previous-version=6.10.0&new-version=6.10.1)](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>
- docs on how to specify the schema to the lang server
- add it automatically along with vim modelines to the init config
- added it to our config as well
this should prevent some "out of date" schema issues, as well as mixing
tabs with spaces and whatnot when an editorconfig plugin is not
installed.