File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Ingest Options Release"
2
+
3
+ on :
4
+ push :
5
+ # on:
6
+ # push:
7
+ # branches:
8
+ # - main
9
+
10
+ jobs :
11
+ create-ingest-options-PR :
12
+ name : Create PR for Ingest Options
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-node@v4
17
+ - run : npm install
18
+ - run : npm run generate-ingest-options
19
+ - uses : actions/github-script@v7
20
+ with :
21
+ script : |
22
+ const { repo, owner } = context.repo;
23
+ const result = await github.rest.pulls.create({
24
+ title: 'Ingest Options updated',
25
+ owner: "axiomhq",
26
+ repo: "app",
27
+ head: '${{ github.ref_name }}',
28
+ base: 'main',
29
+ body: [
30
+ 'This PR is auto-generated by',
31
+ '[actions/github-script](https://github.com/actions/github-script).'
32
+ ].join('\n')
33
+ });
34
+ github.rest.issues.addLabels({
35
+ labels: ['feature', 'automated pr']
36
+ });
You can’t perform that action at this time.
0 commit comments