diff --git a/.github/workflows/frogbot.yml b/.github/workflows/frogbot.yml new file mode 100644 index 0000000000..662c51f580 --- /dev/null +++ b/.github/workflows/frogbot.yml @@ -0,0 +1,48 @@ +name: "Frogbot Scan and Fix" +on: + schedule: + # The repository will be scanned once a day at 00:00 GMT. + - cron: "0 0 * * *" +permissions: + contents: write + pull-requests: write + security-events: write +jobs: + create-fix-pull-requests: + runs-on: ubuntu-latest + strategy: + matrix: + # The repository scanning will be triggered periodically on the following branches. + branch: [ "main" ] + steps: + - uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} + + # Install prerequisites + - name: Setup NodeJS + uses: actions/setup-node@v3 + with: + node-version: "16.x" + + - uses: jfrog/frogbot@v2 + env: + # [Mandatory] + # JFrog platform URL + JF_URL: ${{ secrets.JF_URL }} + + # [Mandatory if JF_USER and JF_PASSWORD are not provided] + # JFrog access token with 'read' permissions on Xray service + JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} + + # [Mandatory if JF_ACCESS_TOKEN is not provided] + # JFrog username with 'read' permissions for Xray. Must be provided with JF_PASSWORD + # JF_USER: ${{ secrets.JF_USER }} + + # [Mandatory if JF_ACCESS_TOKEN is not provided] + # JFrog password. Must be provided with JF_USER + # JF_PASSWORD: ${{ secrets.JF_PASSWORD }} + + # [Mandatory] + # The GitHub token automatically generated for the job + JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README b/README.md similarity index 52% rename from README rename to README.md index 6410938791..53c5f826b9 100644 --- a/README +++ b/README.md @@ -1,2 +1,4 @@ The JFrog Platform is an enterprise-ready automated end-to-end DevOps platform, ideal for managing all of your software releases from code to production. -This repository includes sample projects, which can help you get started using the JFrog Platform. \ No newline at end of file +This repository includes sample projects, which can help you get started using the JFrog Platform. + +[![Scanned by Frogbot](https://raw.github.com/jfrog/frogbot/master/images/frogbot-badge.svg)](https://docs.jfrog-applications.jfrog.io/jfrog-applications/frogbot) diff --git a/github-action-examples/simple-github-action-example/.github/workflows/workflow.yml b/github-action-examples/simple-github-action-example/.github/workflows/workflow.yml index abafec42e3..1d07ebae5f 100644 --- a/github-action-examples/simple-github-action-example/.github/workflows/workflow.yml +++ b/github-action-examples/simple-github-action-example/.github/workflows/workflow.yml @@ -30,3 +30,5 @@ jobs: jf rt bag # Publish build info jf rt bp + +# test comment diff --git a/my_new_file.txt b/my_new_file.txt new file mode 100644 index 0000000000..3b18e512db --- /dev/null +++ b/my_new_file.txt @@ -0,0 +1 @@ +hello world