Skip to content

Commit

Permalink
fix: correct publish conditional (#145)
Browse files Browse the repository at this point in the history
Release-As: v10.0.0-uds.1

## Description


## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-package-mattermost/blob/main/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
zachariahmiller authored Oct 8, 2024
1 parent 8d3843a commit ca805d8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ permissions: read-all
jobs:
validate:
permissions:
actions: read
attestations: read
checks: read
contents: read
deployments: read
discussions: read
issues: read
packages: read
pages: read
pull-requests: read
repository-projects: read
statuses: read
# Needed to upload the results to code-scanning dashboard.
security-events: write
# Used to receive a badge.
Expand Down
4 changes: 3 additions & 1 deletion tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ tasks:
actions:
- task: actions:determine-arch
- task: publish:build-package
- task: setup:k3d-test-cluster
if: ${{ or (ne .variables.FLAVOR "upstream") (ne .variables.ARCH "arm64") }}
- task: create-deploy-test-bundle
if: ${{ and (ne .variables.FLAVOR "upstream") (ne .variables.ARCH "arm64") }}
if: ${{ or (ne .variables.FLAVOR "upstream") (ne .variables.ARCH "arm64") }}
- task: publish:publish-package
- task: publish:publish-plugin-package

0 comments on commit ca805d8

Please sign in to comment.