Граф коммитов

104 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 49c3fd44f5
[fabricbot] Handle the 'need-repro' label. (#17272)
Handle the 'need-repro' label like the 'need-info' label:

* Add a comment that we need a repro, and how to get one.
* Close the issue if no comments within 7 days.
* Add a 'need-attention' label if reporter comments.

Also add a document explaining how to create a repro, modeled after (copied)
MAUI's document (https://github.com/dotnet/maui/blob/main/.github/repro.md).
2023-01-18 18:33:48 +01:00
Rolf Bjarne Kvinge f2cbd7657c
[fabricbot] Add bot rule to manage 'move-to-vs-feedback' issues (#17270)
New workflows:

1. When a `move-to-vs-feedback` label is applied to an issue, tell the
user to use the VS Feedback tool instead.
2. If issue is commented on within 3 days, mark as `needs-attention`.
3. If issue is inactive for 3 days, close the issue.

This is a shameless copy of
05c5e202a3.
2023-01-18 18:33:16 +01:00
Rolf Bjarne Kvinge fd511c7e17
[actions] Fix newlines in changelog generation. (#17023)
We don't need to escape newlines in the changelog message anymore, since it's
not a json-formatted string anymore, it's just plain text.
2022-12-12 21:05:13 +01:00
dependabot[bot] 1db1f48698
Bump peterjgrainger/action-create-branch from 2.3.0 to 2.4.0 (#16960) 2022-12-12 15:30:34 +01:00
Rolf Bjarne Kvinge 0a9260dbb5
[actions] Fix parsing problem in the changelog action. (#16940)
Fixes this:

    SyntaxError: Unexpected identifier
        at new AsyncFunction (<anonymous>)
    Error: Unhandled error: SyntaxError: Unexpected identifier
        at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13356:16)
        at main (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13452:26)
        at Module.858 (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:13429:1)
        at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:24:31)
        at startup (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:43:19)
        at /home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:49:18
        at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6.3.3/dist/index.js:52:10)
        at Module._compile (node:internal/modules/cjs/loader:1101:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

by not storing the changelog entry in an environment variable between tasks,
but instead store it on disk.
2022-12-06 07:50:31 +01:00
dependabot[bot] 52e3e2f4ee
Bump peterjgrainger/action-create-branch from 2.2.0 to 2.3.0 (#16895)
Bumps
[peterjgrainger/action-create-branch](https://github.com/peterjgrainger/action-create-branch)
from 2.2.0 to 2.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peterjgrainger/action-create-branch/releases">peterjgrainger/action-create-branch's
releases</a>.</em></p>
<blockquote>
<h2>v2.3.0</h2>
<p>From <a
href="https://github-redirect.dependabot.com/peterjgrainger/action-create-branch/issues/356">#356</a>
update to version <code>16</code> of node and set
<code>BRANCH_CREATED</code> environment variable instead of
<code>set-output</code></p>
<p>I've left set output there so others can update their action but
added a warning not to use the output any longer.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="64aa569aea"><code>64aa569</code></a>
deprecate set output</li>
<li><a
href="4db6058d3c"><code>4db6058</code></a>
upgrade node version</li>
<li><a
href="9b788a6dcc"><code>9b788a6</code></a>
added some explanation about the branch name</li>
<li><a
href="98f5309f9a"><code>98f5309</code></a>
Update readme</li>
<li>See full diff in <a
href="https://github.com/peterjgrainger/action-create-branch/compare/v2.2.0...v2.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peterjgrainger/action-create-branch&package-manager=github_actions&previous-version=2.2.0&new-version=2.3.0)](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-11-28 10:38:56 -05:00
Manuel de la Pena 232a680660
[Actions] Context typo. 2022-11-17 16:42:23 -05:00
Manuel de la Pena 6a6f6c89ff
[Actions] Update to use the title. 2022-11-17 16:36:31 -05:00
Manuel de la Pena bf8a12bc64
[Actions] Do not use the full commit. Just the head. (#16803) 2022-11-17 16:19:48 -05:00
Manuel de la Pena 0f0dd30878
[Actions] Add the action to perform a bump in the unified pipeline. (#16788) 2022-11-17 11:10:32 -05:00
dependabot[bot] 99607b7591
Bump xamarin/backport-bot-action from 1.0 to 1.1 (#16367)
Bumps
[xamarin/backport-bot-action](https://github.com/xamarin/backport-bot-action)
from 1.0 to 1.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c27c1d5a07"><code>c27c1d5</code></a>
Scope env to step</li>
<li><a
href="da97d664ca"><code>da97d66</code></a>
Inputs -&gt; secrets</li>
<li><a
href="7d536aa14f"><code>7d536aa</code></a>
Update inputs -&gt; secrets</li>
<li><a
href="69c12fcadc"><code>69c12fc</code></a>
Create reusable workflow to replace composite action</li>
<li>See full diff in <a
href="https://github.com/xamarin/backport-bot-action/compare/v1.0...v1.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xamarin/backport-bot-action&package-manager=github_actions&previous-version=1.0&new-version=1.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>
2022-10-17 11:49:21 -04:00
dependabot[bot] 21b9cee43f
Bump actions/github-script from 6.3.1 to 6.3.3 (#16368)
Bumps [actions/github-script](https://github.com/actions/github-script)
from 6.3.1 to 6.3.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/github-script/releases">actions/github-script's
releases</a>.</em></p>
<blockquote>
<h2>v6.3.3</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@actions/glob</code> to 0.3.0 by <a
href="https://github.com/nineinchnick"><code>@​nineinchnick</code></a>
in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/279">actions/github-script#279</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/nineinchnick"><code>@​nineinchnick</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/279">actions/github-script#279</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/github-script/compare/v6.3.2...v6.3.3">https://github.com/actions/github-script/compare/v6.3.2...v6.3.3</a></p>
<h2>v6.3.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>@​actions/core</code> to 1.10.0 by <a
href="https://github.com/rentziass"><code>@​rentziass</code></a> in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/295">actions/github-script#295</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rentziass"><code>@​rentziass</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/actions/github-script/pull/295">actions/github-script#295</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/github-script/compare/v6.3.1...v6.3.2">https://github.com/actions/github-script/compare/v6.3.1...v6.3.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d556feaca3"><code>d556fea</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/300">#300</a>
from actions/joshmgross/v6.3.3</li>
<li><a
href="01fde8b524"><code>01fde8b</code></a>
Update version to 6.3.3</li>
<li><a
href="633e9fd3a1"><code>633e9fd</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/279">#279</a>
from nineinchnick/update-glob</li>
<li><a
href="ee124b1288"><code>ee124b1</code></a>
Update dist</li>
<li><a
href="ca24d5fb29"><code>ca24d5f</code></a>
Update <code>@actions/glob</code> license version</li>
<li><a
href="c09747ec1a"><code>c09747e</code></a>
Merge branch 'main' into update-glob</li>
<li><a
href="100527700e"><code>1005277</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/299">#299</a>
from actions/joshmgross/v6.3.2</li>
<li><a
href="085a7754e8"><code>085a775</code></a>
Bump version to 6.3.2</li>
<li><a
href="6871f0ffce"><code>6871f0f</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/actions/github-script/issues/295">#295</a>
from rentziass/rentziass/update-actions-core</li>
<li><a
href="7ed718295b"><code>7ed7182</code></a>
Update <code>@​actions/core</code> to 1.10.0</li>
<li>See full diff in <a
href="https://github.com/actions/github-script/compare/v6.3.1...v6.3.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/github-script&package-manager=github_actions&previous-version=6.3.1&new-version=6.3.3)](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-10-17 11:48:47 -04:00
Rolf Bjarne Kvinge 37211b52bc
[actions] Use a non-protected branch for release branch testing. (#16289)
See also: #16286
2022-10-07 18:28:21 +02:00
Rolf Bjarne Kvinge 9248e37698
[actions] Set a git identity when updating single platform release branches. (#16256) 2022-10-07 08:06:07 +02:00
Rolf Bjarne Kvinge 48684c2285
[actions] Checkout all branches when updating single platform release branches. (#16254)
Because we want to update branches other than main.
2022-10-06 07:29:47 +02:00
Rolf Bjarne Kvinge ff2b0a02c2
[actions] Allow manual triggers in the update single platform branch action. (#16251) 2022-10-05 21:15:03 +02:00
Rolf Bjarne Kvinge 76c0ed947e
[actions] Update the single-platform test branch every Saturday. (#16243)
We have four branches that test releasing a single platform:

    release/release-test-only-dotnet-$platform

In these branches, only the given platform is enabled (these are also
.NET-only branches), with the idea that we're testing the build and publish of
a single platform. These branches have a 'release/' prefix, so that the go
through as much as possible of our release pipeline.

Hopefully by testing and making sure the following builds and publishes correctly:

* All platforms (the default for our build)
* Each platform by itself

Building and publishing more than one (but less than all four) platforms also
work.

This PR will automatically update these four branches from main every
Saturday, so that we'll be able to find and fix any problems that occur before
release date.
2022-10-05 18:11:52 +02:00
Rolf Bjarne Kvinge 890c9b7ba6
[autoformat] Update to cope with breaking changes in actions/github-script. (#16240)
actions/github-script was recently updated from 3.1.0 to 6.3.1 (69de14c668), but unfortunately there were breaking changes:

* https://github.com/actions/github-script#breaking-changes
* https://github.com/actions/github-script/issues/242#issuecomment-1049167283

This would manifest as:

    TypeError: Cannot read properties of undefined (reading 'listWorkflowRunArtifacts')
    Error: Unhandled error: TypeError: Cannot read properties of undefined (reading 'listWorkflowRunArtifacts')
        at eval (eval at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:13340:16), <anonymous>:3:38)
        at callAsyncFunction (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:13341:12)
        at main (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:13436:26)
        at Module.858 (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:13413:1)
        at __webpack_require__ (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:24:31)
        at startup (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:43:19)
        at /home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:49:18
        at Object.<anonymous> (/home/runner/work/_actions/actions/github-script/v6.3.1/dist/index.js:52:10)
        at Module._compile (node:internal/modules/cjs/loader:1101:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

So update our code to to use the new way to do things.
2022-10-05 18:11:21 +02:00
dependabot[bot] 69de14c668
Bump actions/github-script from 3.1.0 to 6.3.1 (#16218)
Bumps [actions/github-script](https://github.com/actions/github-script) from 3.1.0 to 6.3.1.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 14:23:33 +02:00
Rolf Bjarne Kvinge 4046acc3d0
[autoformat] Extract some logic into its own script file. (#16200)
We have some problems when autoformatting PRs and the PR branch isn't fully
up-to-date with regards to the target branch.

I believe this is what happens:

1. When a PR is created (or modified), GitHub Actions will merge the PR branch
   with the target branch, and parse/load the merged *.yml files.
2. Then when we run the autoformatter, we're working on the tip of the PR
   branch (and not the merged result).
3. This means that we were using the list of projects to autoformat from the
   merged branch, but exeuting on the PR branch. This resulted in spurious
   autoformatting, because the autoformatted would autoformat more code than
   expected.

The fix I'm implementing is to move the list of projects to autoformat to a
separate script in source code. That way we'll work upon the list of projects
as they show up in the PR branch, and not the merged results.
2022-10-03 22:18:28 +02:00
Rolf Bjarne Kvinge 9d0687191d
[autoformat] Add dotnet-linker to the projects to autoformat. (#16178) 2022-09-30 09:32:42 +02:00
Manuel de la Pena 44c38763ee
[Actions] Update the msg provided by the autoformat action to give the correct label. (#16188) 2022-09-29 12:17:49 +02:00
Rolf Bjarne Kvinge 9e0fecc4ff
Autoformat msbuild projects. (#16132)
All other changes should be blank space only: https://github.com/xamarin/xamarin-macios/pull/16132/files?w=1

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2022-09-28 16:25:35 +02:00
Rolf Bjarne Kvinge deb0faa4f2
Autoformat cecil-tests.csproj. (#16103)
All other changes should be blank space only.

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2022-09-26 21:00:28 +02:00
Rolf Bjarne Kvinge 0a78bba081
[actions] Improve comment about autoformatted code. (#16109) 2022-09-26 15:40:58 +02:00
Rolf Bjarne Kvinge 1611d6c382
[autoformat] Enable by default. (#16077)
Autoformatting can from now on be disabled by adding the `actions-disable-autoformat` label.
2022-09-23 13:51:01 +02:00
Rolf Bjarne Kvinge 45ccf885a1
[actions] Autoformat xibuild.csproj (#16059)
Also fix a merge conflict that made autoformatting not work, and make sure to not add any temporary files to the diff.

Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com>
2022-09-22 13:07:01 +02:00
Rolf Bjarne Kvinge 978bc5d8c8
[actions] Get the head repository using the correct syntax. (#16064)
Get the head repository using the correct syntax when trying to publish
autoformatted changes. This action is a 'workflow_run' action, and not a
'pull_request' action, and as such we must look in the 'workflow_run' object
for the data we need.

This will hopefully make the action able to publish results back to a fork.
2022-09-22 07:16:21 +02:00
Rolf Bjarne Kvinge 62fe97da11
[actions] Second try at autoformatting code (#16014)
It turns out that part of the logic has to exist in `main`, it won't
execute from a pull request.

This means it might take a while to get the logic right... so I made it
work in a personal repo first. This is the resulting code, hopefully it
works here too (but there's no way to know for sure before merging the
PR 😞
2022-09-21 20:30:48 +02:00
dependabot[bot] ee1324ebd6
Bump actions/upload-artifact from 2 to 3 (#16020)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 14:25:00 +02:00
Rolf Bjarne Kvinge 7908a319e6
[actions] Add GitHub action to automatically format code. (#15935)
Implement a GitHub action to automatically format our source code.

This is implemented in two steps:

1. A restricted action is used to check if the code has any formatting issues, and if so, creates a patch to fix the code.
2. Another action is used to commit and push the patch (and add a comment to the PR notifying the submitter about the problems found).

This is because the first action will call 'dotnet format', which might be insecure in that it can execute code from the repository. This is not safe in a context that is allowed to push commits (because there are secrets in the environment) - so anyone could create a PR that would be executed as a part of 'dotnet format' and then look for our secrets and make them public. The restricted action's environment does not have any secrets, and it's thus safe to execute random code.

The second action will only execute if the corresponding file is in main, so this PR need to be merged before this can be fully implemented, and as such I've made the autoformatting opt-in (by adding the `actions-enable-autoformat` label). Once everything is confirmed to work properly, it will become opt-out instead.

Also, for now only a very simple project is autoformatted (xibuild.csproj), but the
idea is to fix source code incrementally, and add to the list of projects/code
we autoformat.
2022-09-19 11:48:10 +02:00
Rolf Bjarne Kvinge 3609f59373
[actions] Add action to re-generate global.json for a dotnet/installer bump. (#15456) 2022-07-12 09:15:46 +02:00
dependabot[bot] 73681fd173
Bump peterjgrainger/action-create-branch from 2.0.1 to 2.2.0 (#15350)
Bumps [peterjgrainger/action-create-branch](https://github.com/peterjgrainger/action-create-branch) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/peterjgrainger/action-create-branch/releases)
- [Commits](https://github.com/peterjgrainger/action-create-branch/compare/v2.0.1...v2.2.0)

---
updated-dependencies:
- dependency-name: peterjgrainger/action-create-branch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:21:36 -04:00
dependabot[bot] 389d09bca4
Bump actions/checkout from 2 to 3 (#15351)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:49 -04:00
dependabot[bot] 8fcf8d0daf
Bump peter-evans/repository-dispatch from 1 to 2 (#15352)
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 1 to 2.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:34 -04:00
dependabot[bot] 5f6855f021
Bump devmasx/merge-branch from 1.3.1 to 1.4.0 (#15353)
Bumps [devmasx/merge-branch](https://github.com/devmasx/merge-branch) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/devmasx/merge-branch/releases)
- [Changelog](https://github.com/devmasx/merge-branch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/devmasx/merge-branch/compare/v1.3.1...1.4.0)

---
updated-dependencies:
- dependency-name: devmasx/merge-branch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-27 11:20:16 -04:00
Naveen 573480b394
chore: Included githubactions in the dependabot config (#15330)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
2022-06-27 13:23:48 +02:00
nathannaveen b03bd25855
chore: Set permissions for GitHub actions (#15300)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-06-22 15:23:45 +02:00
TJ Lambert 1477c9bd51
[Localization] Use force-with-lease (#15054)
Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-05-18 15:18:34 -05:00
Rolf Bjarne Kvinge f1d4967540
[actions] Fix changelog logic when there's no existing changelog comment. (#15003) 2022-05-12 16:05:34 +02:00
Rolf Bjarne Kvinge b56184b60d
[actions] Add GitHub action to compute the changelog for maestro bumps. (#14984)
And add that changelog as a comment to the PR. If there already is a comment
with a changelog, then update that comment instead.
2022-05-11 21:41:12 +02:00
TJ Lambert 7f1c1a3432
[FabricBot] Fix 'Write' & 'Admin' permission issue (#14829)
* Update FabricBot with more useful commands

* Remove the 'awaiting-customer-response' label and corresponding tasks

* Ignore people with admin permissions

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-26 11:35:03 -05:00
TJ Lambert 7a0fc9f6f1
[fabricbot] Update FabricBot with more useful commands (#14749)
* Update FabricBot with more useful commands

* Remove the 'awaiting-customer-response' label and corresponding tasks

Co-authored-by: TJ Lambert <tjlambert@microsoft.com>
2022-04-26 09:52:45 -05:00
Rolf Bjarne Kvinge 7c754bd755
Add fabricbot readme. (#14801)
Copied from https://github.com/dotnet/maui/blob/main/.github/fabricbot_readme.md.
2022-04-22 07:59:07 +02:00
Manuel de la Pena c3e9a8c2ab
[CI] Improve the action used to run tests on the pwsh. (#14723) 2022-04-11 16:35:22 -04:00
Manuel de la Pena 0c72b97207
[CI] Split the logic that writes artifacts and test it. (#14358) 2022-04-06 13:43:54 -04:00
Rolf Bjarne Kvinge 00d9e1ba1a
[fabricbot] Add initial config file. (#14501)
This initial config file tells the author of an issue that if anybody adds the
`need-info` label, they have 7 days to answer before we close the issue due
to lack of response.
2022-03-28 10:19:12 +02:00
Manuel de la Pena c7992072cd
[CI] Move the static page comment out and add test. (#14308) 2022-03-08 14:05:08 -05:00
Manuel de la Pena 3e948646d6
[CI] Separate API diff from the test comment to move running the tests in a diff agent. (#14269) 2022-03-01 10:42:30 -05:00
TJ Lambert 7e89a3dccb
[Github Actions] Get rid of annoying failure emails (#13028) 2021-10-21 11:40:38 -05:00