Skip to content

Reuse across repos#65

Open
fgavilanm wants to merge 17 commits intoscottsauber:mainfrom
fgavilanm:reuseAcrossRepos
Open

Reuse across repos#65
fgavilanm wants to merge 17 commits intoscottsauber:mainfrom
fgavilanm:reuseAcrossRepos

Conversation

@fgavilanm
Copy link

No description provided.

Comment on lines +18 to +40
name: Deploy ${{ inputs.env }}
runs-on: ubuntu-latest
environment: ${{ inputs.env }}

steps:
- name: download artifact
uses: actions/download-artifact@v4
with:
name: dometrain-artifact
path: artifacts/

- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Deploy to Azure App Service Name'
uses: azure/webapps-deploy@v2
with:
app-name: app-dometrain-github-actions-fgavilan-${{ inputs.env }}
package: artifacts/ No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions Job or Workflow does not set permissions
path: artifacts/

- name: Azure login
uses: azure/login@v2

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow

Unpinned 3rd party Action 'Deploy to azure' step [Uses Step](1) uses 'azure/login' with ref 'v2', not a pinned commit hash
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Deploy to Azure App Service Name'
uses: azure/webapps-deploy@v2

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow

Unpinned 3rd party Action 'Deploy to azure' step [Uses Step](1) uses 'azure/webapps-deploy' with ref 'v2', not a pinned commit hash
Comment on lines +9 to +28
name: PR Verify
runs-on: ubuntu-latest

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

- name: Set up .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0

- name: Build with dotnet
run: dotnet build --configuration Release

- name: dotnet test
run: dotnet test --configuration Release --no-build

- name: dotnet format
run: dotnet format -v detailed --verify-no-changes No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions Job or Workflow does not set permissions
Comment on lines +11 to +20
name: Print
runs-on: ubuntu-latest

steps:
- name: Print using runner's shell specific syntax
run: echo "the value of SOME_VALUE is $SOME_VALUE"

- name: Print using Context
run: echo "Again, the value of SOME_VALUE is ${{env.SOME_VALUE}}".

No newline at end of file

Check warning

Code scanning / CodeQL

Workflow does not contain permissions

Actions Job or Workflow does not set permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant