-
-
Notifications
You must be signed in to change notification settings - Fork 285
45 lines (42 loc) · 1.35 KB
/
Copy pathcreate-update-issues.yml
File metadata and controls
45 lines (42 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Create Update Issues
on:
workflow_call:
permissions:
contents: read
jobs:
create-update-issues:
environment: default-branch
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout head
uses: actions/checkout@v5
- name: Fetch tags
run: git fetch --prune --unshallow --tags
- name: Get extension token
id: extension-token
uses: MetaMask/github-tools/.github/actions/get-token@v1
with:
token-exchange-url: ${{ vars.TOKEN_EXCHANGE_URL }}
target-repository: 'MetaMask/metamask-extension'
permissions: |
contents: read
issues: write
metadata: read
- name: Get mobile token
id: mobile-token
uses: MetaMask/github-tools/.github/actions/get-token@v1
with:
token-exchange-url: ${{ vars.TOKEN_EXCHANGE_URL }}
target-repository: 'MetaMask/metamask-mobile'
permissions: |
contents: read
issues: write
metadata: read
- name: Create issues in extension and mobile repositories
run: ./scripts/create-update-issues.sh --no-dry-run
env:
EXTENSION_GITHUB_TOKEN: ${{ steps.extension-token.outputs.token }}
MOBILE_GITHUB_TOKEN: ${{ steps.mobile-token.outputs.token }}