From 7d82ea018bae0e13a90c3f988524325a407df310 Mon Sep 17 00:00:00 2001 From: "Breno A." Date: Sun, 16 Jun 2024 20:03:03 -0300 Subject: [PATCH] chore: update readme --- README.md | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 83e9532..302d246 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # GitRoll Scanning Action +> [!IMPORTANT] +> The action mode `wait` still in development. + This repository contains a GitHub Action that requests a GitRoll scan for a given GitHub user. ## Action Details @@ -29,40 +32,35 @@ For example, you can create a file named `scan.yml` with the following content: ```yaml + name: Scan on: - cron: - - '0 0 * * *' + schedule: + - cron: "30 0 * * *" + workflow_dispatch: + push: jobs: - scan: - runs-on: ubuntu-latest - steps: - - name: GitRoll Scan - uses: brenoepics/gitroll-action@v1 + scan: + runs-on: ubuntu-latest + steps: + - name: browser install + run: npx puppeteer browsers install chrome + - name: GitRoll Scan + uses: brenoepics/gitroll-action@v0.1.0 ``` -This workflow will run every day at midnight and request a scan for the `brenoepics` user. - - -
-Using in a workflow - -To use this action in a workflow, you can reference it with the `uses` keyword -and the path to the repository. You can also specify inputs with the `with` -keyword. For example: +This workflow will run every day at midnight and request a scan for the repository owner username, +you can also specify the username with the `username` input. ```yaml -steps: - - name: Example Step - uses: brenoepics/gitroll-action@v1 - with: - username: 'brenoepics' - wait: 'true' + - name: GitRoll Scan + uses: brenoepics/gitroll-action@v0.1.0 + with: + username: 'brenoepics' ``` -This will request a scan for the `brenoepics` user and wait for the scan to complete.
## License