Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tprasadtp committed Apr 9, 2024
1 parent 18941d8 commit fa49430
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bugreport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
required: true
- label: I have verified that my generated Wireguard private keys are valid and have required features (Netshield Ad-blocker, VPN accelerator etc) are enabled.
required: true
- label: I am using a valid server name (either fully qualified DNS name like `nl-free-127.protonvpn.net` or server name like `NL#1`) as mentioned in the docs.
- label: I am using a valid server name (either fully qualified DNS name like `nl-free-127.protonvpn.net` or server IP) as mentioned in the docs.
required: true

- type: input
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
id: get-manifest-digest
run: |
set -euo pipefail
digest=$(jq -r --arg img ghcr.io/tprasadtp/protonwire:${{github.sha}} '.[] | select (.name==$img) | .extra.Digest' ${{steps.goreleaser.outputs.artifacts}}
digest=$(jq -r --arg img ghcr.io/tprasadtp/protonwire:${{github.sha}} '.[] | select (.name==$img) | .extra.Digest' dist/artifacts.json
if [[ -z $digest ]]; then
echo "failed to get digest"
exit 1
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ on:
- "yes"
- "no"
push:
branches:
- "**"
branches-ignore:
- "slsa-verify*"
- "dependabot*"
- "dependabot/**"
tags-ignore:
- "**"
schedule:
- cron: "30 * * * *"
jobs:
metadata:
runs-on: ubuntu-latest
# exclude dependabot from running this workflow.
if: ${{ github.actor != 'dependabot[bot]' }}
permissions:
pages: write
id-token: write
Expand Down Expand Up @@ -58,16 +58,16 @@ jobs:
private-key: ${{ secrets.METADATA_BOT_APP_PRIVATE_KEY }}
repositories: ${{ vars.METADATA_REPO_NAME }}

- name: Checkout metadata repo to protonwire-api-deploy
- name: Checkout metadata repo to protonwire-api
uses: actions/checkout@v4
with:
path: protonwire-api-deploy
path: protonwire-api
token: ${{ steps.bot-token.outputs.token }}
repository: ${{ vars.METADATA_REPO }}
persist-credentials: true

- name: Configure git and remove stale data
working-directory: protonwire-api-deploy
working-directory: protonwire-api
run: |
git config user.name ${{ vars.METADATA_BOT_GIT_USERNAME }}
git config user.email ${{ vars.METADATA_BOT_GIT_EMAIL }}
Expand All @@ -79,15 +79,15 @@ jobs:
--archive \
--human-readable \
./metadata/ \
${GITHUB_WORKSPACE}/protonwire-api-deploy/
${GITHUB_WORKSPACE}/protonwire-api/
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: metadata

- name: Push Metadata (if on master)
working-directory: protonwire-api-deploy
working-directory: protonwire-api
if: github.ref == 'refs/heads/master'
run: |
git add --all
Expand Down

0 comments on commit fa49430

Please sign in to comment.