Skip to content
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e85643e
Create pages.yml
sharonstout1981 Aug 1, 2022
511deb6
Merge branch 'Pearl1981:master' into master
sharonstout1981 Aug 1, 2022
54cb0ca
Set up CI with Azure Pipelines
sharonstout1981 Jul 25, 2023
44a176d
Add datree-validation.yml
datreeio[bot] Aug 10, 2023
02baace
Update mobsf.yml
sharonstout1981 Sep 17, 2023
dc35e6b
Merge branch 'Pearl1981:master' into master
sharonstout1981 Oct 10, 2023
17564d6
Merge pull request #9 from sharonstout1981/azure-pipelines
sharonstout1981 Nov 3, 2023
057e0d4
Merge branch 'master' into datree-yaml-validation-44a176d8a69253a49fd…
sharonstout1981 Dec 1, 2023
62a5887
Merge pull request #10 from sharonstout1981/datree-yaml-validation-44…
sharonstout1981 Feb 25, 2024
4eb6bd5
Bump tj-actions/changed-files from 19 to 41 in /.github/workflows
dependabot[bot] Feb 25, 2024
e21153e
Merge pull request #11 from sharonstout1981/dependabot/github_actions…
sharonstout1981 Feb 25, 2024
e662d68
Bump github/codeql-action from 2 to 3 (#12)
dependabot[bot] Oct 19, 2024
b6af4bb
Bump actions/upload-pages-artifact from 1 to 3 (#13)
dependabot[bot] Oct 19, 2024
69700f7
Bump actions/upload-artifact from 3 to 4 (#14)
dependabot[bot] Oct 19, 2024
adeec4b
Bump actions/setup-dotnet from 2 to 4 (#15)
dependabot[bot] Oct 19, 2024
37981a2
Bump actions/checkout from 3 to 4 (#16)
dependabot[bot] Oct 19, 2024
c5e4437
Bump tj-actions/changed-files from 41 to 45 (#17)
dependabot[bot] Mar 15, 2025
ed9c96f
Bump actions/deploy-pages from 1 to 4 (#18)
dependabot[bot] Mar 15, 2025
6f5588d
Bump actions/configure-pages from 1 to 5 (#20)
dependabot[bot] Mar 15, 2025
165468e
Bump actions/setup-python from 3 to 5 (#21)
dependabot[bot] Mar 15, 2025
2053225
Bump MobSF/mobsfscan from a60d10a83af68e23e0b30611c6515da604f06f65 to…
dependabot[bot] Apr 18, 2025
511bad1
Bump tj-actions/changed-files from 45 to 46 (#29)
dependabot[bot] Apr 18, 2025
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
8 changes: 4 additions & 4 deletions .github/workflows/1codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +54,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +68,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
53 changes: 53 additions & 0 deletions .github/workflows/datree-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# |=========================== Datree Policy Check ===================================|
# | This workflow will verify that all committed config files in the PR are valid. |
# | If one of the config files is happened to be a K8s config file (manifest), |
# | It will also automatically be tested for schema validation and misconfigurations. |
# | For more info visit: https://github.com/marketplace/datree |
# |===================================================================================|

name: Datree Workflow

on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
configs-validation:
runs-on: ubuntu-latest
env:
DATREE_TOKEN: ${{ secrets.DATREE_TOKEN }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: |
*.yaml
*.yml
- name: List all changed files
run: echo ${{ steps.changed-files.outputs.all_changed_files }}

- name: Install Datree's CLI
if: steps.changed-files.outputs.any_changed == 'true'
run: curl https://get.datree.io | /bin/bash -s

# |=========================== Datree Policy Check ===================================|
# | Prevent Kubernetes misconfigurations from reaching production! |
# | Datree is a CLI tool to ensure K8s configs follow stability & security |
# | best practices as well as your organization’s policies. |
# | For more info visit: https://github.com/datreeio/datree |
# |===================================================================================|

- name: Datree validate config files
if: steps.changed-files.outputs.any_changed == 'true'
uses: datreeio/action-datree@main # For more info about this Actions visit 👉 https://github.com/datreeio/action-datree
with:
path: ${{ steps.changed-files.outputs.all_changed_files }}
cliArguments: --only-k8s-files
isHelmChart: false
isKustomization: false
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-core-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.101

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: MSIX Package
path: ${{ env.Wap_Project_Directory }}\AppPackages
6 changes: 3 additions & 3 deletions .github/workflows/mobsf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: MobSF

on:
push:
branches: [ "master", * ]
branches: [ "master"]
pull_request:
branches: [ "master" ]
schedule:
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v3
Expand All @@ -37,6 +37,6 @@ jobs:
args: . --sarif --output results.sarif || true

- name: Upload mobsfscan report
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
50 changes: 50 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v1
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
34 changes: 34 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# ASP.NET
# Build and test ASP.NET projects.
# Add steps that publish symbols, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/aspnet/build-aspnet-4

trigger:
- master

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- task: NuGetToolInstaller@1

- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'

- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:PackageLocation="$(build.artifactStagingDirectory)"'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'