This repository was archived by the owner on Feb 21, 2025. It is now read-only.
File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rebase Trigger
2
+
3
+ on :
4
+ issue_comment :
5
+ types : [created]
6
+
7
+ jobs :
8
+ launchRebaseBuild :
9
+ runs-on : ubuntu-latest
10
+ # GITHUB_TOKEN change from read-write to read-only on 2024-02-01 requires permissions block
11
+ # https://docs.opensource.microsoft.com/github/apps/permission-changes/
12
+ # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
13
+ permissions :
14
+ actions : write
15
+ contents : read
16
+ security-events : write
17
+ id-token : write # The rebase-action template being invoked requires this permission
18
+ if : github.event.issue.pull_request != '' && contains(github.event.comment.body, '@gitbot rebase')
19
+
20
+ steps :
21
+ -
uses :
xamarin/rebase-bot-action/.github/workflows/[email protected]
22
+ with :
23
+ pull_request_url : ${{ github.event.issue.pull_request.url }}
24
+ comment_author : ${{ github.actor }}
25
+ github_repository : ${{ github.repository }}
26
+ secrets :
27
+ azure_tenant_id : ${{ secrets.REBASE_AZURE_TENANT_ID }}
28
+ azure_subscription_id : ${{ secrets.REBASE_AZURE_SUBSCRIPTION_ID }}
29
+ azure_client_id : ${{ secrets.REBASE_AZURE_CLIENT_ID }}
30
+ ado_organization : ${{ secrets.ADO_PROJECTCOLLECTION }}
31
+ ado_project : ${{ secrets.ADO_PROJECT }}
32
+ rebase_pipeline_id : ${{ secrets.REBASE_PIPELINEID }}
33
+ github_account_pat : ${{ secrets.SERVICEACCOUNT_PAT }}
You can’t perform that action at this time.
0 commit comments