Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forked #40

Open
wants to merge 3 commits into
base: test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- cron: '20 7 * * 2'
push:
branches: ["main"]
pull_request:

# Declare default permissions as read only.
permissions: read-all
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Int Harden Runner

Check failure

Code scanning / Scorecard

Token-Permissions High test

score is 0: no topLevel permission defined
Click Remediation section below to solve this issue

on: [pull_request, workflow_dispatch]

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

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium test

score is 7: GitHub-owned GitHubAction not pinned by hash
Click Remediation section below to solve this issue

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

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium test

score is 7: third-party GitHubAction not pinned by hash
Click Remediation section below to solve this issue
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"
Loading