Skip to content

Commit 25f6acf

Browse files
Use GitHub action hash in README and CI (#18)
1 parent 517c410 commit 25f6acf

6 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Configure credentials
13-
uses: tracebit-com/tracebit-community-action@main
13+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
1414
with:
1515
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
1616
api-token: ${{ secrets.SECURITY_API_TOKEN }}
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Configure credentials
38-
uses: tracebit-com/tracebit-community-action@main
38+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
3939
with:
4040
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
4141
api-token: ${{ secrets.SECURITY_API_TOKEN }}

.github/workflows/example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- name: Configure credentials
1414
continue-on-error: true
15-
uses: tracebit-com/tracebit-community-action@main
15+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
1616
with:
1717
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
1818
api-token: ${{ secrets.SECURITY_API_TOKEN }}

.github/workflows/sync_to_public.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
persist-credentials: false # Don't persist the default GITHUB_TOKEN
2525

2626
- name: Configure credentials
27-
uses: tracebit-com/tracebit-community-action@main
27+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
2828
with:
2929
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
3030
api-token: ${{ secrets.SECURITY_API_TOKEN }}

.github/workflows/test-pre.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v6
1212

1313
- name: Configure credentials
14-
uses: tracebit-com/tracebit-community-action@main
14+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
1515
with:
1616
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
1717
api-token: ${{ secrets.SECURITY_API_TOKEN }}
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/checkout@v6
4343

4444
- name: Configure credentials
45-
uses: tracebit-com/tracebit-community-action@main
45+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
4646
with:
4747
customer-id: ${{ vars.SECURITY_CUSTOMER_ID }}
4848
api-token: ${{ secrets.SECURITY_API_TOKEN }}

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,15 @@ Insert the action **before** any step that runs untrusted code (dependency insta
7070

7171
```yaml
7272
- name: Configure credentials
73-
uses: tracebit-com/tracebit-community-action@main
74-
continue-on-error: true
73+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
7574
with:
7675
api-token: ${{ secrets.SECURITY_API_TOKEN }}
7776
profile: administrator
7877
profile-region: us-east-1
7978
async: true
8079
```
8180
82-
`continue-on-error: true` ensures a Tracebit outage never blocks your pipeline but should not be necessary.
81+
Optionally use `continue-on-error: true` to ensure a Tracebit outage never blocks your pipeline but should not be necessary as if configured correctly the action will warn and not error.
8382

8483
### Full workflow example
8584

@@ -97,8 +96,7 @@ jobs:
9796
- uses: actions/checkout@v6
9897
9998
- name: Configure credentials
100-
uses: tracebit-com/tracebit-community-action@main
101-
continue-on-error: true
99+
uses: tracebit-com/tracebit-community-action@517c410eae144100a1995cd720094c010995994d
102100
with:
103101
api-token: ${{ secrets.SECURITY_API_TOKEN }}
104102
profile: administrator

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: Configure credentials
2-
description: Configure AWS credentials
1+
name: Tracebit Configure Credentials
2+
description: Tracebit Configure AWS Credentials
33

44
inputs:
55
customer-id:

0 commit comments

Comments
 (0)