Create GITHUB_PATH with 777 mode (#568)

This commit is contained in:
Ana Hobden 2023-07-17 10:45:22 -07:00 committed by GitHub
parent 90dc4b93ad
commit 3ad209cc0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,12 +152,14 @@ impl ConfigureShellProfile {
&github_path, &github_path,
None, None,
None, None,
None, // We want the `nix-installer-action` to not error if it writes here.
// Prior to `v5` this was done in this crate, in `v5` and later, this is done in the action.
0o777,
buf, buf,
create_or_insert_into_file::Position::End, create_or_insert_into_file::Position::End,
) )
.await?, .await?,
) );
} }
Ok(Self { Ok(Self {