-
Notifications
You must be signed in to change notification settings - Fork 35
40 lines (33 loc) · 1.11 KB
/
update-node-tables.yml
File metadata and controls
40 lines (33 loc) · 1.11 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
name: Update Node Tables
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
update-tables:
runs-on: hashgraph-docs-linux-medium
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install dependencies
run: sudo apt-get install -y jq
- name: Run update script
run: ./update_node_tables.sh
- name: Create Pull Request
if: ${{ steps.git-check.outputs.changes == 'true' }}
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
with:
commit-message: "chore: update node tables"
sign-commits: true
branch: update-node-tables
title: "chore: update node tables"
body: "Automated update of node tables."
labels: automated-pr
delete-branch: true