fix(publish): pick up secret when passed from caller workflow (#66)
* fix(release): pass through secret to publish workflow by name
* fix
* delete
diff --git a/.bcr/config.yml b/.bcr/config.yml
deleted file mode 100644
index 9828ad2..0000000
--- a/.bcr/config.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-fixedReleaser:
- login: alexeagle
- email: alex@aspect.dev
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 5bee1fc..63ffd5c 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -31,4 +31,4 @@
id-token: write
secrets:
# Necessary to push to the BCR fork, and to open a pull request against a registry
- publish_token: ${{ secrets.BCR_PUBLISH_TOKEN }}
+ publish_token: ${{ secrets.publish_token || secrets.BCR_PUBLISH_TOKEN }}