-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #273 from cgranleese-r7/add-metasloit-framework-ac…
…ceptance-tests Adds metasploit-frameworks acceptance tests
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Metasploit Framework Acceptance | ||
|
||
# Optional, enabling concurrency limits: https://docs.github.com/en/actions/using-jobs/using-concurrency | ||
#concurrency: | ||
# group: ${{ github.ref }}-${{ github.workflow }} | ||
# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
|
||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions | ||
permissions: | ||
actions: none | ||
checks: none | ||
contents: none | ||
deployments: none | ||
id-token: none | ||
issues: none | ||
discussions: none | ||
packages: none | ||
pages: none | ||
pull-requests: none | ||
repository-projects: none | ||
security-events: none | ||
statuses: none | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
metasploitFrameworkCommit: | ||
description: 'metasploit-framework branch would like to test' | ||
required: true | ||
default: 'master' | ||
push: | ||
branches-ignore: | ||
- gh-pages | ||
- metakitty | ||
pull_request: | ||
branches: | ||
- '*' | ||
# Example of running as a cron, to weed out flaky tests | ||
# schedule: | ||
# - cron: '*/15 * * * *' | ||
|
||
jobs: | ||
build: | ||
uses: rapid7/metasploit-framework/.github/workflows/shared_smb_acceptance.yml@master | ||
with: | ||
metasploit_framework_commit: ${{ github.event.inputs.metasploitFrameworkCommit }} | ||
build_smb: true |