One "funny" quirk of GitHub Actions is that some of their YAML constructs that users assume to be cumulative, are not. One example is the permissions block: Most readers will assume that the following YAML will combine contents and id-token permissions:
However, that is not the case! The inner permissions block completely negates the outer permissions block. This can be seen in all its glory here. With this commit, the bug is fixed.
One "funny" quirk of GitHub Actions is that some of their YAML constructs that users assume to be cumulative, are not. One example is the
permissions
block: Most readers will assume that the following YAML will combinecontents
andid-token
permissions:However, that is not the case! The inner
permissions
block completely negates the outerpermissions
block. This can be seen in all its glory here. With this commit, the bug is fixed.