Skip to content
Closed

test #392

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
48 changes: 48 additions & 0 deletions .github/workflows/frogbot.yml
Original file line number Diff line number Diff line change
@@ -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 }}
4 changes: 3 additions & 1 deletion README → README.md
Original file line number Diff line number Diff line change
@@ -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.
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)
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ jobs:
jf rt bag
# Publish build info
jf rt bp

# test comment
1 change: 1 addition & 0 deletions my_new_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hello world
Loading