-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.18 KB
/
run-shell-script.yml
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
name: increment-cargo-version
on:
workflow_dispatch:
jobs:
check_compilation:
name: Increment cargo version
runs-on: ubuntu-latest
steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Modify file
# shell: bash
# run: |
# echo "Running git status"
# echo "another line\n" >> myfile
# git status
# - name: Stage
# run: git add .
# - name: Commit
# run: git commit -m "Add line to myfile"
# - name: Push
# run: git push origin HEAD:main
# - name: Open PR
# uses: actions/github-script@v6
# id: pr
# with:
# script: |
# const { repo, owner } = context.repo;
# const result = await github.rest.pulls.create({
# title: 'Update myfile',
# owner,
# repo,
# head: '${{ github.ref_name }}',
# base: 'main',
# body: 'Just updating myfile'
# });
# github.rest.issues.addLabels({
# labels: ['automerge']
# });
- name: event_path
run: cat ${{ github.event_path }}