Skip to content

Commit

Permalink
Merge branch 'master' into devfile--screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
iArchitSharma authored Apr 13, 2024
2 parents f3b9cfe + 3edbe37 commit 62eab2c
Show file tree
Hide file tree
Showing 3,018 changed files with 25,670 additions and 11,904 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
47 changes: 47 additions & 0 deletions .github/workflows/meshmap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: MeshMap Screenshot Service
'on':
pull_request_target:
types:
- opened
- synchronize
- reopened
workflow_call:
inputs:
fileName:
description: Relative file path from the root directory
required: true
type: string
outputs:
resource_url:
description: The URL of the generated resource.
value: ${{ jobs.MeshMapScreenshot.outputs.resource_url }}
permissions:
actions: read
contents: write
security-events: write
statuses: write
pull-requests: write
id-token: write
jobs:
MeshMapScreenshot:
runs-on: ubuntu-latest
outputs:
resource_url: ${{ steps.test_result.outputs.resource_url }}
steps:
- name: Set PR number
run: |
export pull_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
echo "PULL_NO=$pull_number" >> $GITHUB_ENV
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
path: action
repository: layer5labs/meshmap-snapshot
- id: test_result
uses: ${GITHUB_REF/refs/tags//}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
providerToken: ${{ secrets.PROVIDER_TOKEN }}
prNumber: ${{ env.PULL_NO }}
application_type: Kubernetes Manifest
filePath: ${{ inputs.fileName == '' && 'lkjh' || inputs.fileName }}
Loading

0 comments on commit 62eab2c

Please sign in to comment.