Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
// Configure tool-specific properties.
// "customizations": {},

// Environment variables to set in the container
"containerEnv": {
"MISE_TRUSTED_CONFIG_PATHS": "/"
},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root"
}
2 changes: 2 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ chmod +x /usr/local/bin/mise

echo "Mise development shim created at /usr/local/bin/mise"
echo "You can now run 'mise' commands which will use 'cargo run' under the hood"

mise --cd /workspaces/mise install
4 changes: 4 additions & 0 deletions .github/workflows/test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
- name: Install cross
uses: taiki-e/install-action@0aa4f22591557b744fe31e55dbfcdfea74a073f7 # v2
with:
tool: cross
- name: Rust Cache
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
with:
Expand Down
3 changes: 3 additions & 0 deletions packaging/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
bison \
build-essential \
clang \
cmake \
direnv \
fd-find \
fish \
libclang-dev \
pkg-config \
python3-venv \
pipx \
&& ln -s /usr/bin/{fdfind,fd} \
Expand Down
4 changes: 1 addition & 3 deletions src/backend/aqua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,7 @@ impl AquaBackend {
let artifact_path = tv.download_path().join(filename);

// Use our new attestation verification library
let token = env::var("GITHUB_TOKEN")
.ok()
.or_else(|| env::var("GH_TOKEN").ok());
let token = env::GITHUB_TOKEN.as_ref().cloned();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: GitHub Token Retrieval Loses GH_TOKEN Compatibility

The GitHub token retrieval logic no longer explicitly falls back to the GH_TOKEN environment variable. This removes compatibility for users and CI systems that rely on GH_TOKEN as an alternative to GITHUB_TOKEN.

Fix in Cursor Fix in Web


// Get expected workflow from registry
let signer_workflow = pkg
Expand Down
Loading