diff --git a/.github/workflows/devSecOps-pipeline.yml b/.github/workflows/devSecOps-pipeline.yml new file mode 100644 index 0000000..807000f --- /dev/null +++ b/.github/workflows/devSecOps-pipeline.yml @@ -0,0 +1,20 @@ +name: devSecOps-pipeline +on: + push: + branches: + - 'demo-branch' + paths-ignore: + - 'README.md' +jobs: + devSecOps: + runs-on: ubuntu-latest + steps: + - name: Code Checkout + uses: actions/checkout@v7 + with: + fetch-depth: 0 + - name: Secret Scanning + uses: gitleaks/gitleaks-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + diff --git a/README.md b/README.md index 7456b86..881b987 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Example used to demonstrate ```docker init``` CLI for a simple Hello World Python Program - +## ignore in pipeline while pushing any changes ## Run the application