Skip to content

Commit

Permalink
Create Sample_test_workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-stepsecurity authored Nov 12, 2024
1 parent 052d800 commit 8680290
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/Sample_test_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Int Harden Runner

on: [pull_request, workflow_dispatch]

jobs:
harden-and-basic-tasks:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Run Step Security Harden Runner
uses: step-security/harden-runner@int
with:
egress-policy: audit

- name: List Files in Repository
run: ls -al

- name: Make API Call with Curl
run: |
curl -X GET "https://google.com" -H "Content-Type: application/json"

0 comments on commit 8680290

Please sign in to comment.